Skip to main content
Glama

search_tools

Locate local Code Mode helpers and cached or connected MCP tools using BM25; get TypeScript signatures and usage examples without loading schemas into the main prompt.

Instructions

Zero-spawn BM25 search across local Code Mode helpers and all cached/connected Antigravity MCP tools (from mcp_config.json, cached Antigravity schemas, and codemode-mcp.json servers). Returns TypeScript signatures and usage examples without loading schemas into the main prompt.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum tools to return (default: 15).
queryNoKeyword or natural-language query (omit or empty to list tools).
detailNoOutput detail level (default: signatures).
namespaceNoOptional namespace or MCP server filter (e.g., fs, shell, mcp, codemode, or an MCP server name).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does add real behavioral detail: it is 'zero-spawn' (cheap, in-process), uses BM25 ranking, and searches only cached/connected sources from named config files, which tells the agent results depend on local configuration. It omits anything about cache staleness or result freshness.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and scope, with no filler. The jargon density ('Zero-spawn BM25', 'Code Mode helpers', 'Antigravity') is heavy but each term encodes real information about what is searched and at what cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only search tool with no output schema, the description covers the return shape ('TypeScript signatures and usage examples') and the sources searched, which is what an agent needs to decide to call it. Only the absence of ordering/pagination expectations leaves a small gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so each parameter is already documented with defaults and constraints. The description adds no meaning beyond the schema for query, limit, detail, or namespace, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('BM25 search across local Code Mode helpers and all cached/connected ... MCP tools') and enumerates the underlying sources. It is clearly a discovery tool rather than an execution tool, though it never names the sibling 'execute' to draw the contrast explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the phrase 'without loading schemas into the main prompt' signals this is the cheap way to discover tools before invoking them, and the schema notes that an empty query lists tools. There is no explicit when-to-use/when-not guidance or named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools