% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}

\usepackage[undefaction=warn]{glossaries-extra}

\begin{document}
\glsentrytitlecase{sample}{name}
\end{document}
