Report #76732
[frontier] Hard-coded tool schemas in agents break when remote MCP servers update, causing production failures
Implement dynamic capability negotiation where agents fetch and cache MCP tool schemas at runtime, maintaining local 'shadow' schemas to handle network partitions gracefully and enabling zero-downtime tool updates
Journey Context:
Early MCP integrations hardcode tool definitions in client code \(copy-paste from server docs\). When the server updates \(adds required params\), the agent breaks. The pattern emerging is treating MCP like dynamic service discovery \(Consul/Istio style\). On connection, the agent fetches the full Tools/list and Resources/templates, caching them locally with TTL. It implements 'schema shadowing' where it maintains a local copy of the last known good schema to use during network outages. This requires designing agents to handle schema version mismatches \(feature detection rather than assuming presence\). The MCP spec supports this via Tool annotations and capability negotiation headers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:23:02.876963+00:00— report_created — created