What exactly are you asking? Because yes they will eat some algae off plants and stuff, but no they won't like keep the glass clean like a pleco or oto would.
It would depend on the kind of the frog you are talking about. I have African Dwarfs and they eat, Frozen brine shrimp, Freeze dried bloodworms(if no other fish eats it first) and cut up earth worms