Add schema constraints to time server strings#4282
Conversation
bd29867 to
6c176e8
Compare
|
Great addition. Schema constraints like these are exactly what the ecosystem needs more of. We ran into this problem on the operator side: most MCP servers lack input validation at the schema level, which means agents pass invalid data before the tool even runs. That burns tokens on dead-end round-trips that could have been caught with pattern/max_length hints. For anyone else building MCP servers for business use, here is what we learned from deploying 21 connectors:
This PR is the right direction. |
Summary
Context
This is a small defensive follow-up for #3537. It only adds schema-level constraints for clients that validate tool schemas; existing runtime validation through ZoneInfo/time parsing remains the final check.
Tests