Glutamine synthetase that catalyzes the ATP-dependent conversion of glutamate and ammonia to glutamine. ATP + L-glutamate + NH4(+) = ADP + H(+) + L-glutamine + phosphate The N-terminus is blocked. Belongs to the glutamine synthetase family.