Skip to main content
Glama

search_tools

Finds the right MCP tools for a natural-language question in any language, returning ranked results with server IDs, countries, descriptions, and required parameters so users can call the best match.

Instructions

Find the right MCP tool(s) for a question, in any language.

query: the user's question (EN/TR/DE/FA), e.g. "قیمت بلیط قطار از برلین به مونیخ چقدره؟" or "dollar exchange rate today". limit 1..20 (default 8). Returns ranked tools with server id, country (DE/TR/IR), one-line descriptions and required params. Call this FIRST, then call_tool with the top result. If results span countries and the question names no place, ask the user which country they mean.

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
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/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 well: it discloses ranking behavior, the returned fields (server id, country, one-line descriptions, required params), the country domain (DE/TR/IR), and the cross-country ambiguity path. It does not mention result-count edge cases or what happens on zero matches, which keeps it short of a 5.

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?

Purpose is front-loaded, followed by parameter definitions and then the invocation workflow, with no filler sentences. The line breaks inside the description are slightly awkward but do not hurt scanability or meaning.

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

Completeness5/5

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

For a two-parameter discovery tool with an output schema already documenting return shape, the description covers everything an agent needs: purpose, parameter meaning, correct call order relative to call_tool, and the ambiguity escalation path. Nothing required for a correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does: query is defined as the user's question with supported languages (EN/TR/DE/FA) and worked examples in two languages, and limit is bounded to 1..20 with a default of 8 and an interpretation ('ranked tools'). Minor gap: no guidance on how the limit interacts with cross-country result sets.

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 and resource ('Find the right MCP tool(s) for a question') plus a scope qualifier ('in any language'), which immediately separates it from call_tool and list_servers. An agent can tell what this does without opening the 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?

Explicitly prescribes sequencing ('Call this FIRST, then call_tool with the top result') and names the alternative tool. It also gives a concrete branch condition for ambiguity ('If results span countries and the question names no place, ask the user which country'), so both routing and edge-case handling are specified.

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