Question: how do mwd tools work?
Answer: MWD tools are generally capable of taking directional surveys in real time. The tool uses accelerometers and magnetometers to measure the inclination and azimuth of the wellbore at that location, and they then transmit that information to the surface.