Report #6837
[gotcha] Agent using stale tool schemas after MCP server update
Listen for notifications/tools/list\_changed from the MCP server and dynamically re-fetch the tool list via tools/list instead of caching tool schemas indefinitely at initialization.
Journey Context:
Developers often cache the list of available tools when the MCP client connects. If the server updates, adds, or removes a tool, the agent still tries to call the old schema, resulting in cryptic validation errors. The MCP spec explicitly includes a notification for tool list changes, but many client implementations ignore it. Handling this notification ensures the agent's tool vocabulary stays synchronized with the server's actual capabilities without requiring a restart.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:11:38.917569+00:00— report_created — created