From my school lab manual for identification of organic compounds:
Take 2 ml of Tollens’ reagent and add a few drops of organic sample. Heat the contents on boiling water bath for 5 minutes. Silver mirror is formed. The given organic compound is glycerol.
As far as I know, the compounds with aldehyde groups give positive silver mirror test. Also, those which contain α,β-hydroxy ketone are known to react with Tollens’ reagent.
I have never heard of glycerol reacting with Tollens’ reagent. I found that on heating glycerol forms acrolein which contains aldehyde group:
$$\ce{(CH2OH)2CHOH → CH2=CHCHO + 2 H2O},$$
which I think is the reason, but I am not sure.