Guppies as a rule are safe and a good food source when used as part of a varied diet.
Are the males eating worms? If they are worms are a very good food source . Guppies would help to vary the diet.
I would be amiss if I didn't say something about feeding amphibians. They usually carry a parasite load. In my opinion it would be best to find a safer food.