Back to Infrastructure
infrastructureL4 OptimizedMCP & Tool Integration

Agent discovery: agent knows what tools are available

Agent discovery is the capability for an agent to dynamically enumerate what tools are available in its current environment and adapt its behavior accordingly.

  • ·Toolshed model: 400+ tools accessible behind a unified MCP gateway (Stripe model)
  • ·Agent discovery: agents can query available tools and their capabilities at runtime
  • ·MCP governance covers lifecycle management, versioning, and audit logging
  • ·MCP tool usage analytics track which tools are used, by which agents, how often
  • ·MCP server versioning allows rollback to previous versions without downtime

Evidence

  • ·MCP gateway configuration showing 400+ registered tools
  • ·Agent discovery API or protocol documentation with runtime tool listing
  • ·MCP governance logs showing lifecycle events (deploy, version, deprecate, audit)

What It Is

Agent discovery is the capability for an agent to dynamically enumerate what tools are available in its current environment and adapt its behavior accordingly. In the MCP protocol, this is implemented via the tools/list method: an agent connects to an MCP server and requests a list of all tools with their names, descriptions, input schemas, and permission requirements. The agent can then reason about which tools to use based on the task at hand, rather than being hardcoded to use a fixed set of tools specified at design time.

The practical significance is substantial. Without discovery, an agent workflow must be designed with a specific, known set of tools. If a new tool becomes available (say, a new MCP server is deployed), the agent doesn't know about it until its prompt or configuration is manually updated. With discovery, the agent queries its available tools at the start of each session and can use any tool that has been made available since the last update. New organizational capabilities are immediately accessible to agents without requiring agent code changes.

Discovery also enables adaptive agent behavior. An agent that discovers it has access to a production metrics tool can use that tool to validate its code changes against actual performance data. An agent without that tool gracefully degrades to a different validation approach. The agent makes these decisions dynamically based on what's available, not based on what was anticipated at design time. This is particularly important in large Toolshed deployments where the tool catalog evolves frequently and agents shouldn't need manual updates to use new capabilities.

The quality of tool descriptions is what makes discovery useful in practice. An agent that enumerates 400 tools and finds uniformly clear, specific descriptions can make good tool selection decisions. An agent that enumerates 400 tools with vague or inconsistent descriptions will either pick wrong tools or ignore tools it should use. Tool description quality is the often-overlooked bottleneck between "discovery is implemented" and "discovery actually improves agent behavior."

Why It Matters

  • Decouples agent development from tool availability - agents can use new tools as soon as they're deployed without requiring agent code changes; the tool deployment cycle and the agent development cycle are independent
  • Enables environment-adaptive agents - an agent running in a production-access environment uses different tools than the same agent running in a development environment with restricted access; discovery makes this adaptation automatic
  • Reduces agent maintenance overhead - agents hardcoded to specific tools break when those tools change; agents that discover tools dynamically are resilient to tool additions, removals, and renaming
  • Powers the Toolshed model at scale - discovery is what makes 400 tools useful rather than overwhelming; without discovery, 400 tools require 400 manual configuration entries; with discovery, the agent finds them all automatically
  • Creates a feedback loop for tool descriptions - when agents use discovery and pick wrong tools based on description ambiguity, the selection errors are visible in logs and motivate description improvements; this feedback loop continuously improves tool quality

Getting Started

6 steps to get from here to the next level

Common Pitfalls

Mistakes teams actually make at this stage - and how to avoid them

How Different Roles See It

B
BobHead of Engineering

Bob's organization has deployed a Toolshed gateway with 50+ tools, but agents aren't using the newer tools even when those tools would clearly improve their output. The deployment team added a deployment trigger tool three months ago; agents still ask developers to manually trigger deployments rather than using the tool.

What Bob should do - role-specific action plan

S
SarahProductivity Lead

Sarah wants to use agent discovery to enable a new class of workflows: agents that adapt to the specific environment they're running in (development, staging, production-limited) without requiring separate agent configurations for each environment.

What Sarah should do - role-specific action plan

V
VictorStaff Engineer - AI Champion

Victor is building a meta-agent that orchestrates other agents for complex, multi-step workflows. He wants the orchestrator agent to know what capabilities are available before deciding how to break down a task - essentially using tool discovery as a capability introspection mechanism before planning.

What Victor should do - role-specific action plan