Meteor Guide: Methods

You can easily write a ValidatedMethod mixin! GitHub - meteor/validated-method: Meteor methods with better scoping, argument checking, and good defaults. · GitHub