Skip to main content
Glama

Search tools

search_capabilities
Read-onlyIdempotent

Find a tool by keyword across connected servers without loading full tool lists. Returns read-only matches, best first, with arguments.

Instructions

Find a tool by keyword on every connected server; cheaper than list_capabilities when you know roughly what you want. Read-only. Returns a line per match, best first, with args.

Input Schema

NameRequiredDescriptionDefault
limitNoMax matches, 1-25 (clamped).
queryYesWords matched on tool names.
serverNoOne server; omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.8.0
    • addedInput schema / properties / limit / default
      Added value: +8
    • changedInput schema / properties / limit / description
      Previous value: -"max results, default 8"New value: +"Max matches, 1-25 (clamped)."
    • addedInput schema / properties / query / description
      Added value: +"Words matched on tool names."
    • changedInput schema / properties / server / description
      Previous value: -"optional: search one server only"New value: +"One server; omit for all."
  2. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description adds value with return-shape disclosure: 'a line per match, best first, with args.' It could still note match/ranking semantics or edge cases, but for a safe read tool this is solid added context.

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?

One tightly packed sentence with the resource, scope, cost comparison, safety, and return format, all front-loaded. Every clause earns its place.

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?

No output schema exists, and the description compensates by describing the return format (line per match, best first, with args). Combined with full param coverage and annotations, an agent has what it needs; only minor ranking/match-detail gaps remain.

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 all three parameters are already documented, including limit clamping and server scoping. The description's 'keyword' phrasing mirrors the schema's 'Words matched on tool names' without adding new syntax or format detail, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb+resource (find a tool by keyword) and scope (every connected server), and explicitly contrasts with the sibling list_capabilities. An agent can distinguish it from siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition ('when you know roughly what you want') and names the alternative (list_capabilities) with the selection trade-off (cheaper). Nothing is left to inference.

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