Is it a single concentrated load at midspan?
Will the beam really not support anything other than the glass? Will it support perpendicular joists?
So this beam will or will not support any floor loading? If this is a handrail you need to consider handrail loading laterally which will put torsion in the beam.
But will NOT support the glass?
You didn't answer the question about not supporting the glass