The right pattern is not more tools in context; it is better discovery at the moment of need. MCP makes it easy to connect agents to databases, file systems, browsers, calendars, GitHub, observability, and internal services. The temptation is to load the complete enterprise tool surface into every session.

Situation

MCP makes it easy to connect agents to databases, file systems, browsers, calendars, GitHub, observability, and internal services. The temptation is to load the complete enterprise tool surface into every session.

The pattern matters for database, cloud, and platform teams because agents do not operate in a vacuum. They inherit repository rules, tool permissions, deployment workflows, incident history, and the quality of the evidence available to them.

Operating layerDefault approachBetter alternative
ContextRely on a long prompt or chat historyGive the agent task-specific evidence and rules
ToolingExpose broad tools and inspect laterExpose narrow tools with clear approval boundaries
VerificationRead the final answerCheck the artifact, trace, and final state

The Problem

That design does not scale. Agents pay the context cost of tools that are irrelevant to the task, and the chance of selecting the wrong tool rises as the surface grows.

The practical question is not whether an agent can produce a convincing response. The question is whether the engineering system around that response makes the work observable, reversible, and reviewable.

Failure pointWhat breaksWhy it matters
Weak boundaryAgent authority is broader than the taskA diagnostic run can become an unsafe change
Missing evidenceThe agent cannot cite the state it usedReview becomes opinion instead of verification
No lifecycleThe workflow ends at a messageOwnership, audit, cleanup, and rollback disappear

Discoverable Tool Surface

Use tool search as a routing layer. The agent starts with intent, discovers candidate tools, loads only the selected tool definitions, and records why the tool was chosen.

flowchart TD
    A[task request — bounded intent] --> B[discoverable tool surface — controls]
    B --> C[tool execution — evidence collected]
    C --> D[verification — final state checked]
    D --> E[human handoff — audit retained]
  1. Define the operating boundary.
    Write down the task class, allowed tools, environment, data class, and approval mode before the agent runs.

  2. Shape the evidence.
    Return compact observations instead of raw dumps. The agent should see enough to reason, but not so much that context is wasted.

  3. Require proof of completion.
    Completion should be an artifact or state check: a passing test, a reviewed plan, a valid rollback, a trace, or a linked ticket.

Group tools by operational domain: database read-only, migration drafting, cloud inventory, observability, ticketing, and source control.

In Practice

Context: Anthropic’s tool-use guidance emphasizes reducing tool overhead and using mechanisms that let the model access the right capability without carrying every definition in the active prompt. Source: Anthropic, Introducing advanced tool use.

Action: Group tools by operational domain: database read-only, migration drafting, cloud inventory, observability, ticketing, and source control.

Result: A discoverable tool catalog gives the organization many capabilities without forcing each task to carry the full catalog in context.

Learning: Use tool search as a routing layer. The agent starts with intent, discovers candidate tools, loads only the selected tool definitions, and records why the tool was chosen. This is a documented pattern or a direct consequence of how the named systems behave, not a fabricated production story.

Where It Breaks

Failure modeTriggerFix
Always-loaded MCPEvery server appears in every sessionAdd search and lazy loading
Poor metadataTool search returns irrelevant matchesWrite task-oriented descriptions
Hidden permissionsAgent finds a powerful tool without guardrailsStore mode and approval rules with metadata
No auditNobody knows why a tool was chosenLog discovery query and selected tool

What to Do Next

  • Problem: That design does not scale. Agents pay the context cost of tools that are irrelevant to the task, and the chance of selecting the wrong tool rises as the surface grows.
  • Solution: Use tool search as a routing layer. The agent starts with intent, discovers candidate tools, loads only the selected tool definitions, and records why the tool was chosen.
  • Proof: A discoverable tool catalog gives the organization many capabilities without forcing each task to carry the full catalog in context.
  • Action: Write metadata for ten DB tools with purpose, environment, risk level, required approval, and output shape.

The teams that get value from agents will not be the teams with the longest prompts. They will be the teams that turn agent work into a controlled engineering workflow.