If you covered the top of the tank completely, not only would you lose the cooling effect, but it would get even hotter. Think of a car parked in the sun with the windows rolled up.

Also, glass is not 100% clear. It would filter some of the light reaching the water. Even worse as the salt creep on the bottom of the glass would be impossible to keep up with.