(alternatively, if you have logic that says "any time I declare a server with $foo parameters, then I also need a grant with $bar parameters and it's possible to programatically describe it.... then just write that in code and don't make your end user copy paste copy paste copy paste.