Skip to main content
Glama

get_document

Read-onlyIdempotent

One Level 2 or Level 3 document (a technical standard, guideline, Q&A, opinion …) with its information block and text.

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": {
      "ref": "<ref>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesA page address (https://www.headlesslaw.com/… or a path such as /mica/articles/75) or a citation ("Art 75(3) MiCA", "Article 75(3) of Regulation (EU) 2023/1114", "2025/298", a CELEX number).
releaseNoOptional release id (or its first 8+ hex characters) to pin a multi-call task to one release; releases stay available for 24 hours after they leave the live position. Outside that window the answer is release_unavailable (isError), naming the current release — never silently another release.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without the description's help. The description adds only that the payload contains an information block plus text; it says nothing about size, truncation, or behavior on unresolved citations, so it clears the lower bar set by rich annotations but does not exceed it.

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?

A single compact sentence, front-loaded with the scope qualifier and the returned content — nothing is padded. It is terse to the point of being elliptical, but not wasteful.

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

Completeness3/5

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

For a read-only lookup with full schema coverage and no output schema, an agent can call it competently from the schema alone. What is missing is domain framing — what a Level 2/3 document means versus a provision or page — which is the one piece the structured fields cannot supply.

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 description coverage is 100% and both parameters (ref as address/citation/CELEX, release as an optional pin with its release_unavailable failure mode) are thoroughly documented in the schema itself. The description adds no syntax, format, or fallback guidance beyond that, which is the expected baseline at full coverage.

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

Purpose3/5

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

The fragment states the resource retrieved: a single Level 2/Level 3 document including its information block and text, which tells an agent what comes back. However, there is no verb, and the key disambiguation — how this differs from siblings like get_provision, getPage, or get_definition — is entirely absent, leaving 'Level 2 or Level 3 document' to carry meaning the agent may not share.

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

Usage Guidelines2/5

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

No when-to-use guidance, no exclusions, and no pointer to alternatives. Given three plausible sibling tools that also retrieve legal content (get_provision, getPage, get_definition), the absence of any routing instruction is a real gap.

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