9 min watch

Stop Giving Your Agent Every Tool

  • tool-search
  • tool-use
  • mastra
  • agent-architecture
  • context-engineering

Large tool catalogs break agent context. Tool search fixes that by letting agents discover and load only what they need.

I walk through the tool-context problem I hit in Emma, the Anthropic tool-search pattern for large tool surfaces, and why I replaced my custom version with Mastra’s built-in ToolSearchProcessor. You’ll see the full search, load, and call loop in Mastra Studio, from an agent with no direct tools to a targeted tool invocation.

Work with me

Building an AI agent?

I help teams design and ship agentic systems — from architecture to production.