I think most fertilizers only have macronutrients (NPK), whereas Mg and Ca are micronutrients.
But, I use seaweed fertilizer myself to cover all the micronutrients. I would think gypsum would have a negative effect pH wise, but maybe cacti and succulents don't care.