Skip to main content
Glama

Search the RedMachine documents

search
Read-onlyIdempotent

Returns the best matching passages from every bundled document, each with its id and page URL. Call it to answer a specific question, with short plain words such as 'two keys' or 'exit codes'.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many passages to return.
queryYesPlain keywords or a short question.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context by disclosing the return shape (passages with id and page URL), which tells the agent results can be chained into a follow-up read. It does not describe ranking or result ordering.

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, both load-bearing: the first defines output and scope, the second defines when and how to call. The most important information is front-loaded with no filler or restatement of the tool name.

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?

With no output schema, the description correctly carries the burden of explaining return values, and it does so. For a two-parameter read tool with full schema coverage and complete annotations, the only remaining gap is minor: it does not clarify what 'bundled documents' covers or how passages are ranked.

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 the baseline is 3; the description earns above that by giving concrete example queries ('two keys', 'exit codes') that illustrate the intended keyword style better than the schema's generic 'Plain keywords or a short question'. It says nothing about the limit parameter, which the schema already documents adequately.

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?

The description states a concrete verb and resource ('Returns the best matching passages from every bundled document') and even specifies the shape of each result (id and page URL), which separates it from a document-fetching sibling like 'read'. It stops short of naming a sibling or explicitly contrasting scope, so it is clear but not fully differentiated.

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?

'Call it to answer a specific question' gives a clear triggering context, and the query-style guidance ('short plain words such as two keys or exit codes') tells the agent how to phrase input. There is no explicit when-not-to-use or named alternative, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.