Report #37000
[frontier] Agent failing when tool schemas change or version mismatch occurs
Implement schema negotiation handshake: on connection, agent queries MCP server for capability metadata \(supported tool versions, optional vs required params\), agent advertises its own feature flags, both sides agree on shared schema subset before tool execution begins.
Journey Context:
Static tool schemas break when backends evolve \(new required params, deprecated fields\). Hardcoding schemas in agent prompts causes runtime failures. Instead, treat tool contracts like API versioning: MCP servers expose capabilities endpoint declaring available tools with versioned schemas and feature flags. Agent inspects these, matches against its own supported operations, negotiates a contract for that session. If server requires auth\_token v2 and agent only supports v1, negotiation fails fast with clear error rather than runtime tool failure. Enables zero-downtime evolution of tool ecosystems without breaking existing agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:34:42.581751+00:00— report_created — created