I have a molly in my 30 gal and she's fat and happy! does well with film algae on the glass and sometimes picks at GHA, but not the best if you're looking specifically for GHA removal. They have great personalities, so I feel like it's a good addition to any community tank, the slight utility is more of a bonus.
Side note, not sure if there's any merit to it but, it seems like females do better than males. I tried a trio of 2 males, 1 female and both of the males died after a few weeks, wouldnt really eat much. Eventually tried another male and it died as well under similar circumstances. The female has been a voracious feeder and has had a few babies in the tank that have since disappeared.
For GHA control, the thing that has helped me the most is a small algae reactor in the back chamber of my AIO. Just a small pump, some pvc, and a mesh screen that gets sprayed with water. GHA grows quicker out of water due to higher gas exchange and light, so it grows super quick in the back chamber and has pretty much disappeared from the display. Nutrient control is the name of the game. GFO/carbon works well, but I've found the algae reactor to be much lower maintenance and more predictable