Report #77786
[frontier] Agent's available tools are hardcoded at deployment — adding a new tool requires redeploying the agent, and tool sets cannot adapt to user permissions or environment
Use MCP's dynamic tool discovery: agents call tools/list at runtime on each connected MCP server to discover available tools and their schemas. Deploy new MCP servers to add capabilities without redeploying agents. Connect different MCP servers per user, environment, or permission level.
Journey Context:
Most agent implementations hardcode tool definitions — the system prompt lists available tools and the code has static tool handlers. Adding a tool means changing code, rebuilding, and redeploying. MCP changes this by providing a standardized discovery protocol: the agent queries each connected MCP server for its current tool list and schemas at runtime. This enables: \(1\) zero-downtime capability addition — deploy a new MCP server and agents discover it on next conversation, \(2\) environment-specific tools — different MCP servers in dev/staging/prod, \(3\) permission-scoped tools — connect different servers based on user roles. Tradeoff: dynamic discovery means the tool set can change between calls, which can confuse the model if tools appear or disappear mid-conversation. Mitigate by caching tool lists within a conversation turn and refreshing at conversation boundaries. Also ensure tool list responses are fast — slow discovery adds latency to every conversation start.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:09:45.609139+00:00— report_created — created