If its just a snail/s, snails do eat algae although they also breed very rapidly and many people get outbreaks of them that cannot be controlled, for every snail you see there's probably another 5 hiding somwhere as they are good at hiding, if you don't mind them nibbling the occasional hole in your plants and can handle the numbers they are not a problem.