I'd get that clam on a piece of rock pretty quick.Once the foot finds the glass,then its gonna be tough to get it loose with damaging it.And if that happens,then the clam will die.
Something else you might check.Get a magnifying glass and look around the shell real good.If there are small snails on it,remove them and kill em.