Glycerol-3-phosphate phosphatase hydrolyzing glycerol-3-phosphate into glycerol. Thereby, regulates the cellular levels of glycerol-3-phosphate a metabolic intermediate of glucose, lipid and energy metabolism. Was also shown to have a 2-phosphoglycolate phosphatase activity and a tyrosine-protein phosphatase activity. However, their physiological relevance is unclear. In vitro, has also a phosphatase activity toward ADP, ATP, GDP and GTP. H2O + O-phospho-L-tyrosyl-[protein] = L-tyrosyl-[protein] + phosphate H2O + sn-glycerol 1-phosphate = glycerol + phosphate H2O + sn-glycerol 3-phosphate = glycerol + phosphate Binds 1 Mg(2+) ion per subunit. Homodimer. Belongs to the HAD-like hydrolase superfamily. CbbY/CbbZ/Gph/YieH family.