Hi - welcome to the GMB
You don't provide any dimensions of your glass, but my opinion is that it has nothing to do with sugar or sweets - but I'd suggest you are probably nearer the mark with 'trinket' item.
It has the looks of an item from a trinket tray set - could be for powder or cream perhaps, so would suggest you search related items. I don't suggest you will find a match, but hopefully you will see similar pieces with similar looking finials.
Can't really see from your picture whether this is cut glass or pressed, but if pushed for some sort of provenance or origin I'd think along the lines of Czechoslovakian and date wise possibly 1930 - 40 period.
It may well simply be a modern copy of an older style - not possible to tell from just looking at the screen - and anything can be deco provided it simply fulfils the criteria of the deco style - whether made yesterday or in 1928