The root גלמ appears three times in תנ”ך, twice referring to clothing.
יחזקאל כז:כד
הֵ֤מָּה רֹכְלַ֙יִךְ֙ בְּמַכְלֻלִ֔ים בִּגְלוֹמֵי֙ תְּכֵ֣לֶת וְרִקְמָ֔ה וּבְגִנְזֵ֖י בְּרֹמִ֑ים בַּחֲבָלִ֧ים חֲבֻשִׁ֛ים וַאֲרֻזִ֖ים בְּמַרְכֻלְתֵּֽךְ:
מלכים ב ב:ח
וַיִּקַּח֩ אֵלִיָּ֨הוּ אֶת־אַדַּרְתּ֤וֹ וַיִּגְלֹם֙ וַיַּכֶּ֣ה אֶת־הַמַּ֔יִם וַיֵּחָצ֖וּ הֵ֣נָּה וָהֵ֑נָּה וַיַּעַבְר֥וּ שְׁנֵיהֶ֖ם בֶּחָרָבָֽה:
תהלים קלט:טז
גָּלְמִ֤י׀ רָ֮א֤וּ עֵינֶ֗יךָ וְעַֽל־סִפְרְךָ֘ כֻּלָּ֪ם יִכָּ֫תֵ֥בוּ יָמִ֥ים יֻצָּ֑רוּ [כ' ולא] וְל֖וֹ אֶחָ֣ד בָּהֶֽם:
According to Tawil, the word comes from the Akkadian gulenu, which means coat. In Ezekiel it is used as a noun, in II Kings, as a verb to fold or roll up.
גלם means unfinished or deformed, and in the context in Psalms means an embryo – a body that is yet unformed.