• You could use DDL Trigger - every time when SP/UDF had been modified, it will retrieves list of input/output parameters, build an XML document and store it with designated key in Extended Properties.

    BTW you even could snap and record definition of recordset(s) returned by SP/UDF (with SQL CLR code).