Skip to main content
Glama

search_tools

Read-only

Search all folded MCP tools by keyword or intent before calling one, with optional server filtering and result limits.

Instructions

Search across all folded MCP tools by keyword or intent. Always run before call_tool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax hits (default 8)
queryYesAction or domain keywords (e.g. "open pull request", "sql query")
serverNoOptional server name filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already tells the agent this is a safe, non-mutating operation, and the description correctly reinforces it by describing a lookup rather than a write. It adds the scope 'across all folded MCP tools', which is useful, but says nothing about result count behavior beyond the schema's default, ranking, or what happens with an empty match set.

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

Conciseness5/5

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

Two sentences, no filler, with the core purpose first and the workflow precondition second. Every clause carries information an agent needs.

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 three-parameter read-only search with no output schema, the description covers what it does, its scope, and its position in the workflow. A brief note on what a hit contains — since there is no output schema to explain the return shape — is the main remaining 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 description coverage is 100%, so query, limit, and server are all documented structurally; baseline 3 applies. The phrase 'keyword or intent' mildly broadens the schema's 'action or domain keywords' by signalling that natural-language intent phrasing is acceptable, but no additional syntax or format guidance is offered.

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 (search) and resource (folded MCP tools) plus the search dimension (keyword or intent), so an agent knows what comes back in kind. Sibling differentiation is only partially handled: call_tool is contrasted, but inspect_tool and pipe_tools are not distinguished at all.

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

Usage Guidelines4/5

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

'Always run before call_tool' gives an explicit, actionable ordering rule rather than vague context. It stops short of a full routing policy — nothing says when to prefer inspect_tool over this, or what to do when the search returns nothing.

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