add validations to RPC agent ddl