Magnesium Citrate solution (water based) is an extremely powerful and fast acting laxative. It's what is given to hospital patients to totally clean out their intestines prior to getting a colonoscopy or any type of abdominal surgery where the surgeon wants the intestines completely empty in case of accidental cutting or nicking the intestines, there won't be any large amount of contents spilling out to risk causing a bad infection, or grossing out the surgical crew any more than just doing the surgery already does.
If you have taken any anti-worm medicines or herbal deworming supplements that would paralyze and dislodge any potential worms that might have been latched on somewhere along your digestive tract, after giving that stuff enough time to do its work, then taking a powerful laxative like magnesium citrate will help make you crap out the worms sooner so thatyour regular digestive juices and enzymes inside your intestines don't start digesting the worms, and your intestines won't start absorbing the digesting dead worm part, because that filth is full of toxins and heavy metals, and will make you very sick. Literally you want to get that sh#t out of your body ASAP. After the laxative has done its job you might even want to give yourself a deep enema with distilled water to thoroughly wash out the insides of your large intestine.
Yes this is a gross, disgusting chore, and you may see some really scary looking things come out of your body, but you definitely do not want any of that filth to spend any more time inside your body than it already has.