To say 'grammatically correct', there are various phrases in use, including 'proper grammar', 'right grammar', 'correct grammar' and perhaps, others.
All or most of them may be correct and permitted. However,
Q: if one were to follow a preferred terminology, what would be the right expression?
supplementary: Do we have a phrase adopted/ recommended on ELU?