/pattern/tool-registry/

04 · ProductionTool IntegrationCapability CatalogTool CatalogFunction Registry

Tool Registry.
A catalog, not a kitchen sink.

Available tools are centrally registered alongside their schemas, descriptions, permissions, and metadata.

In practiceA research agent queries a tool registry to discover and invoke a real-time web-search tool it has never been hardcoded to call.

When to reach for it

  • Many tools are managed.
  • Selection and versioning are critical.
  • Tools are shared across multiple agents.

When it backfires

  • Only a few static tools exist.
  • The registry cannot be maintained.
  • Tool descriptions cause poor automated selection.

The tradeoff

Better tool governance is achieved against higher maintenance effort.

The effect

What it actually does.

The agent looks a tool up in a registry before calling it.

agentregistry → toolresult
Pitfalls

Two ways this pattern will hurt you.

Tool sprawl without deprecation

The registry grows to 200 tools, many of which are broken or superseded. The agent wastes turns calling stale tools.

Fix · Add a deprecation flag and a last-used timestamp. Prune tools unused for 90 days after audit review.

Missing capability metadata

The registry stores names and schemas but omits latency, cost, and reliability metadata. The agent can't make informed choices.

Fix · Require every registered tool to include a capability card: latency SLA, cost per call, and reliability score.

Framework support

Where Tool Registry is native.

OpenAI Agents SDKregistered tools + handoffsNative
LangGraphbound tool nodesNative
Microsoft Agent Frameworktool catalogNative
Google ADKtool registryNative
AWS Strandstool provider registryNative

Search

Search patterns, frameworks, and pages.