GO:0003921:   GMP synthase activity
Catalysis of the reaction: ATP + xanthosine 5"-phosphate + NH3 = AMP + diphosphate + GMP.