Report #79279
[frontier] Tool Monolith: Hardcoding tool definitions in agent code prevents runtime adaptability
Adopt MCP as Tool Microservices: Deploy tools as independent MCP servers with lifecycle management \(health checks, versioning\) consumed by agents as external services, not local functions.
Journey Context:
Early agent frameworks \(LangChain, LlamaIndex\) encouraged defining tools as Python functions decorated with schemas. This creates tight coupling: updating a tool requires redeploying the agent. The 2025 pattern treats MCP servers as microservices: tools run in separate processes/containers, register with a discovery service \(like Consul or simple MCP host lists\), and expose health endpoints. Agents discover them at runtime via MCP \`list\_tools\`. Enables polyglot tools \(Python agent using Rust tool\) and independent scaling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:40:07.698545+00:00— report_created — created