Covalently bonding amide to glass
Ethanol solution, soaked over night of APTEOS will work.  You won't get great coverage, but it will be likely good enough for what you want to do.  

The subsequent chemistry is a bit more touchy.  The problem is acid byproduct which forms ammonium salt with the amine functions that is difficult to remove.  This leaves latent acid catalyst at your surface.

You are better served forming the amide from your APTEOS and coating with that product.