Catalyzes the conjugation of long-chain fatty acyl-CoA thioester and glycine to produce long-chain N-(fatty acyl)glycine, an intermediate in the primary fatty acid amide biosynthetic pathway. an acyl-CoA + glycine = an N-acylglycine + CoA + H(+) (9Z)-octadecenoyl-CoA + glycine = CoA + H(+) + N-(9Z-octadecenoyl)glycine glycine + hexadecanoyl-CoA = CoA + H(+) + N-hexadecanoylglycine Lipid metabolism. Belongs to the glycine N-acyltransferase family.