How old is your tank? I noticed you mentioned adding sand to the tank. It is recommended that your tank is mature. To have a clam, I'd say the tank must be cycled, and the last time you added sand & rock was 6 months ago, this gives time for the rock and sand to mature. I'd keep calcium between 420ppm-450ppm, and alk between 8dkh-11dkh. Phosphates should be around .02. Clams depend highly on light and are filter feeders as well. If your parameters are in place,and getting enough light, the clam should recover, but I'm not sure how long it will take. I would also recommend spot feeding the clam to nurse it back to health.