Part of the ABC transporter complex GlnHMPQ involved in glutamine transport. Probably responsible for energy coupling to the transport system (By similarity). The complex is composed of two ATP-binding proteins (GlnQ), two transmembrane proteins (GlnM and GlnP) and a solute-binding protein (GlnH). Positively regulated by TnrA under nitrogen-limited conditions. Belongs to the ABC transporter superfamily.