5 gallon glass tank? I would say that is kind of small for a chameleon. Fish tanks are not designed to stand up tall which chameleons like. I'd look into a small reptibreeze cage or something similar.
Glass is ok but is really good place for molds to grow with so little airflow.
Recommend a screen cage. Not to say you could not make a glass one work
Glass is fine for pygmies. 5 gallons is like a minimum (in my opinion) for a bearded pygmy (I think its too small for a larger pygmy species.) A bigger tank, like a 10 gallon, would be better.