A condition characterized by intermittent involuntary contraction of muscles (spasms) related to hypocalcemia or occasionally magnesium deficiency. The phenotype is Human Phenotype Ontology identifier HP_0001281 (Tetany). Also known as: Intermittent involuntary muscle spasm.