Skip to main content
Tool search enables AI agents to discover the right tools using natural language queries, without requiring exact action names.
The Problem: StackOne manages over 10,000 actions across connectors, with some containing 2,000+ actions. Loading all of them into an LLM’s context window is not practical:
  • Token bloat: every tool definition consumes tokens, leaving less room for reasoning
  • Accuracy drops: LLMs make worse tool selections as the candidate set grows
  • Provider caps: OpenAI caps function definitions at ~128 per request
The Solution: More tools does not mean more capability. Without structure, they become noise. Tool search finds only the relevant tools for each query, keeping agent prompts lean while expanding their capabilities.

Key Features

Scales to Thousands of Tools

StackOne has 10,000+ actions. Search returns only the relevant ones for each query.

Improves Accuracy

Only relevant tools exposed per request, reducing misfires and hallucinations.

Account-Aware

Filters results to tools available for configured account IDs, respecting auth boundaries.

Framework-Ready

Returns a Tools collection with converters for OpenAI, LangChain, Vercel AI SDK, and more.

Quick Example

Two Approaches

Architecture Overview

Flow:
  1. User sends a natural language query to your AI agent
  2. Agent calls Search Tools to find relevant actions
  3. Search Tools discovers available connectors and tool schemas via MCP, then ranks actions via the Semantic Search API
  4. Search results are matched to MCP tool definitions, sorted by relevance
  5. Agent receives a ranked Tools collection
  6. Agent calls execute() on the selected tool

Next Steps