The grammar could be updated to validate parameters for instance:
params
auth_token:string (required),
page:long (required),
range:long (required, 1..50),
email:string (required, email)
The above is just an idea, would need to flesh out what options would be available for each field.
Required Flag
auth_token:string (required)
Ranges (for numerical types)
Can draw some inspiration from ruby here http://www.ruby-doc.org/core-2.1.2/Range.html
range:long (1..50),
range2:long (5..*),
range3:long (20..30)