Skip to main content
Glama

searchDocumentation

Read-onlyIdempotent

Search the headlesslaw corpus: the verbatim text of EU financial and digital regulation (Level 1 acts, their Level 2 technical standards and Level 3 guidelines and Q&As) and the definitions. Returns matching passages, each with its page title and page address. Use getPage with a returned address to read the whole page. Results are the official text as published on the site, without commentary.

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

Input Schema

NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description then adds genuinely new behavior: results are verbatim official text with no commentary, each hit carries a page title and page address, and hits are passages rather than whole documents. Since no output schema exists, spelling out the return shape is real added value.

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?

Four sentences, each doing distinct work: corpus scope, return shape, follow-up tool, and provenance. Nothing is repeated from the schema or annotations, and the scope statement is front-loaded.

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 one-parameter, no-output-schema search tool this covers scope, return values and next steps well enough to call correctly. The remaining gaps are query syntax and result-set limits or pagination, which are relevant but secondary.

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?

The single `query` parameter has 0% schema description coverage, so the description must compensate; it implies passage-level full-text matching over the corpus but gives no guidance on syntax, keyword vs. natural-language phrasing, or boolean operators. With one parameter and no output schema, the implicit framing is enough to make a reasonable first call, hence the baseline 3 rather than lower.

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 a precisely scoped resource (the headlesslaw corpus of EU financial and digital regulation, spanning Level 1/2/3 acts plus definitions), and it says what comes back (matching passages with page title and address). It does not distinguish itself from the sibling tool named "search", so the agent must still infer which search surface to pick.

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?

Explicitly routes the agent forward: "Use getPage with a returned address to read the whole page", which is a real alternative and the condition for choosing it. No exclusions or preconditions for when not to use this tool are given, and the relationship to the sibling "search" is unaddressed.

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.

Resources