They are very beneficial in a tank.
If you have a lot of them, your problem is a nutrient load issue. They are scavengers...and you would notice their absence. In a healthy tank, IMO, you would rarely see them during the day.
I would truly look into your feeding if you feel you have a lot of them.