I don't think they are necessary and from what I have read, many will pick at corals, and almost all of them will eat snails.
I didn't have any in my pico until recently. I picked up a blue legged hermit because I was looking to add some movement inside the tank. Corals are awesome, but they do kind of just sit there.
I went away for a couple of days, so I moved it to the sump because I wasn't going to be around to put everything back that it would knock or flip over and I am trying to get my ricordia that is splitting to attach to some rock work. That wasn't necessarily the best idea as I think the last of my dwarf cerith snails have now been consumed. But I have noticed a bit of algae that normally hasn't been an issue, I'm pretty sure the hermit has been keeping the algae at bay.