what FoothillBeardie said is correct, glass will block UVB rays. Most people on this board will recommend a linear UV bulb. I prefer the Reptisun 10.0 bulb.
if you glass tank is in the direct sunlight, make sure you are watching the temperatures when it's in the sun and that it's not getting too hot. The glass tank will heat up with the sunlight.