A serological test to detect IgM antibodies against the rubella virus. The presence of these antibodies is strong evidence of an acute or recent infection (usually within the past 4-6 weeks) and is crucial in diagnosing primary infection, especially during pregnancy.