Skip to main content
Glama

search_tools

Read-onlyIdempotent

Finds server tools matching a task description and returns their full definitions, so you can choose the right one without guessing a name.

Instructions

Finds the tools on this server that match a task description and returns their full definitions, so the right one can be called straight away. Use it first when unsure which tool fits, rather than guessing a name. Read-only and local: it searches the definitions this server already advertises, reaches Directus not at all, and so costs nothing against the instance. Matching runs over tool names, descriptions and keywords. Returns up to 10 tools unless limit says otherwise, best match first.

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
limitNoMaximum number of tools to return (default: 10)
queryYesFree-text task description, e.g. "delete rows" or "change the data model"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv12.3.3

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/closed-world annotations by explaining that the search is local over already-advertised definitions, never calls Directus, and therefore has no quota cost. It also discloses matching scope and the result cap. That is material context an agent cannot get from the annotations.

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?

Front-loaded with purpose, then usage guidance, then behavioral traits and return shape. Every sentence carries distinct information; there is no filler or repetition of schema fields.

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?

No output schema exists, and the description fully covers the return shape: up to 10 full tool definitions, best match first, adjustable via limit. Combined with the no-network disclosure, nothing an agent needs before calling 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 100%, so both parameters are already documented and the baseline is 3. The description still adds value by explaining what the query actually matches against (names, descriptions, keywords) and confirming best-match-first ordering with the limit default, which helps an agent phrase the query.

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: finds tools matching a task description and returns their full definitions. It is unambiguous against all listed siblings, which are Directus data/schema/flow operations, since this one searches the server's own tool catalog.

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 routes the agent: 'Use it first when unsure which tool fits, rather than guessing a name.' That gives both the condition for use and the alternative behavior it replaces, which is exactly what a tool-selection helper needs.

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