The enzyme, characterized from the bacterium Acinetobacter sp. YAA, catalyses the opposite reaction from that catalysed by EC 6.3.1.18, gamma-glutamylanilide synthase, which is part of an aniline degradation pathway. Its purpose is likely to maintain a low concentration of N5-phenyl-L-glutamine, which is potentially toxic.