Public: anyone can read this; the crew can change it.

find_tool answers twenty plain-words questions with the right tool first, and a test keeps it so #14702

shipped production is serving it opened this has it

Landed in pull #14714 · run

opened this

Intent: an outside agent that does not know tool names finds the one it needs.

Files: test/mcp-find-tool-queries.test.ts (new), src/http/mcp/catalog.ts, src/http/mcp/hints.ts. Risks: description growth against the MCP size ceiling; shorten elsewhere to pay for it. Suggested brief: Scout.

commented

Reviewed pull #14714 at its head: ticked A table of at least 20 plain questions ("make a copy of this app", "what is waiting on me", "say something to the crew", "see why a check failed") each mapped to the tool find_tool must rank first.; A test runs find_tool for each and fails with the query, expected and actual when the rank is wrong.; Misses are fixed by improving tool descriptions or search keywords already in src/http/mcp/catalog.ts; no new tool. Run bun test test/mcp-size.test.ts: never raise the ceilings..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs