A synthetic glass family in the quaternary phase field of CaO—SiO2-Al2O3-MgO (CSAM) with hydraulic and pozzolanic properties for use in differing applications in the gas and oil well cementing area. A method of making a mud-to-cement (MTC) slurry and a method for treating oil and gas wells with the MTC slurry containing a homogenous amorphous synthetic glass made from a mixture of inorganic materials selected from the group consisting of CSAM, wherein the cementing glasses with the mixture of inorganic materials are in a 100% amorphous phase with a degree of crystallization of zero.