The Best
Tool Discovery
for AI Agents
We fine-tuned a lightweight retrieval model so your agent finds the right tool on the first try — without loading hundreds of schemas into its context window.
#1 Semantic Tool Search
for Accuracy
No matter how many MCP tools — our fine-tuned tool discovery model finds the right one first.
From 100s of
agent tools to 2
Your agent gets tool_search and tool_execute.
Tool search surfaces the most relevant actions across your agent's connectors — reducing hundreds down to a few to pick from and execute.
Your context window stays clean for reasoning.
Use via MCP
Build with the SDK
prompt
Find all deals closing this quarter worth over $50K
agent action
1/2tool_search("deals closing this quarter over 50K")
searching 371 tools across 8 connectors...
match: salesforce_search_opportunities 0.96
agent action
2/2tool_execute(salesforce_search_opportunities, { stage: "Negotiation", min_amount: 50000 })
response
3 opportunities found:
| deal | amount | close |
|---|---|---|
| Acme Corp | $120K | Jun 15 |
| Globex Inc | $85K | Jun 28 |
| Wayne Ent | $52K | Jun 30 |
Query In,
Right Agent Tool Out
Your agent describes what it needs in plain language. Our semantic model finds the right tool across thousands of actions — even when no words match. 92.8% accuracy on the first try, including connectors the model was never trained on.
Query: "Find open deals closing this quarter"
salesforce_search_opportunities Query: "Enroll the new hire in compliance training"
workday_create_learning_enrollment Query: "Route P1 bugs to the platform team"
jira_transition_issue
From Tool Discovery
to Execution
Semantic search finds your agent's tools. Server-side execution runs them. Production prompt injection guard protects them.
Enriched Embeddings
Action descriptions expanded with synonyms and related terms before embedding. +14 percentage points over standard semantic search.
Semantic + Local Fallback
Auto mode tries the semantic API first, falls back to hybrid BM25 + TF-IDF locally. Zero downtime, no network dependency.
Server-Side Execution
Action RPC across 200+ connectors with automatic account routing. Works natively with Claude, ChatGPT, Cursor, and Windsurf.
Multi-Execute
Batch multiple actions in a single tool_execute call. Array input, parallel execution, all results returned. No artificial cap.
Backwards Compatible
One URL parameter. Without it, the MCP server returns all tools as before. Zero migration, zero breaking changes.
Defender Integration
Every tool call passes through StackOne's prompt injection defense before reaching your systems.
AI Tool Search for Every Client.
Zero Migration.
Dramatically reduce in-context tool loading and reduce token spend per session. Your agent loads only 2 tools instead of 100s. Context stays clean. Costs drop.
Off-the-shelf AI agents
Paste into your MCP client
https://api.stackone.com/mcp?x-account-id=xyztool-mode=search_execute&token={token}
Agents you're building
Add to your agent code
npm install @stackone/ai
# or: pip install stackone-ai
AI Tool Search Resources
Blog
Building Semantic Search for 10,000+ Actions
How enriched embeddings achieve 84% Hit@5 across 9,340 actions — and why reranking didn't help.
Blog
MCP Tool Search: BM25, TF-IDF, and Hybrid
The evaluation methodology behind our local fallback search — 2,700 test cases across 270 tools.
Blog
How to Reduce MCP Token Usage by 96–99%
Four strategies from schema compression to code execution — and the 460x reduction from search-first discovery.
Blog
Why AI Agents Kill Their Own Context Windows
How tool schemas, API responses, and multi-step workflows compound to exhaust your agent's reasoning space.
Frequently Asked Questions
What is a context window in AI, and why does it matter for tool use?
How does semantic tool search work?
workday_create_learning_enrollment even with zero word overlap — picking the correct tool on the first try 92.8% of the time across 14 unseen connectors.How is semantic search different from keyword search like BM25?
auto mode uses semantic first and falls back to BM25+TF-IDF locally if the API is unreachable.How do I enable tool search on my StackOne MCP server?
tool-mode=search_execute to your StackOne MCP URL. Your agent will see two tools — tool_search and tool_execute — instead of hundreds of individual definitions. Remove the parameter to revert. No migration, no code changes.Does StackOne MCP tool search work with Claude, ChatGPT, and Cursor?
tool-mode=search_execute to your StackOne MCP URL and paste it into any MCP client — Claude, ChatGPT, Cursor, Windsurf, VS Code, Zed. The agent sees tool_search and tool_execute instead of hundreds of definitions. No SDK or code changes needed on the client side.When should I NOT use tool search?
What are the current limitations?
tool-mode parameter is set at URL level, not per-request. Code-mode execution (sandbox) is a separate future capability.Let Your Agents Find The Tool It Needs
Start with Search & Execute — zero migration, one URL parameter.