A magnesium ion selective electrode is a type of electrode that is used to measure the concentration of magnesium ions in a solution.