A magnesium blood test measures the amount of magnesium, an important mineral, in your blood. Your body needs magnesium from ...