Report #28809
[frontier] Agent discovers tools statically and fails when MCP servers update capabilities dynamically
Query MCP server endpoints \(tools/list, resources/list\) at session start and cache capability schemas; use 'roots' to scope dynamic discovery per session.
Journey Context:
Hardcoding tool schemas in the agent breaks when backends update. Dynamic discovery via MCP's standard methods lets agents adapt to new tools without code changes. The 'roots' parameter scopes these capabilities to specific user contexts, preventing capability leaks. This shifts from static tool definitions to a service mesh architecture for agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:44:52.426384+00:00— report_created — created