Catalyzes the synthesis of GMP from XMP. ATP + H2O + L-glutamine + XMP = AMP + diphosphate + GMP + 2 H(+) + L-glutamate Purine metabolism; GMP biosynthesis; GMP from XMP (L-Gln route): step 1/1. Homodimer. Extended N-terminus.