Skip to main content
Glama

Echr Judgment

echr_judgment
Read-onlyIdempotent

Fetch the full text of one ECHR document by its itemid (from echr_search, e.g. "001-249132"). Returns the judgment/decision body converted to plain text, paged. Very recently published items (within a few days) sometimes have no converted text yet, the tool says so rather than returning nothing silently; echr_search's conclusion field is available immediately even then.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "itemid": "001-249132"
    },
    "name": "echr_judgment"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemidYesHUDOC itemid from echr_search, e.g. "001-249132".
offsetNoCharacter offset, for paging through a long judgment (default 0).
max_charsNoMax characters to return (default 12000, max 40000).

Output Schema

NameRequiredDescriptionDefault
textNoPlain-text slice of the judgment, converted from HUDOC's DOCX-to-HTML endpoint (present when found).
foundYesWhether converted full text was available. False is a normal outcome for very recently published documents, not an error.
itemidYesThe HUDOC document id requested.
offsetNoCharacter offset this slice starts at (present when found).
reasonNoWhy no text was returned (present only when found is false).
sourceNoAttribution string for the HUDOC database (present when found).
messageNoPlain-English explanation of the miss and what to do instead (present only when found is false).
has_moreNoWhether text remains beyond this slice (present when found).
next_offsetNoOffset to pass back to read the next slice, or null at the end of the document (present when found).
total_charsNoTotal length of the whole document in characters (present when found).
citation_urlYesPublic hudoc.echr.coe.int URL for the document.
returned_charsNoLength of the text slice returned (present when found).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds useful behavior beyond annotations: the judgment/decision body is converted to plain text and paged, and very recent items may return an explicit missing-text signal rather than silently returning nothing.

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?

Three compact sentences front-load the core action, then add paging and the recent-publication caveat. Every sentence carries useful information, with no repetitive or filler wording.

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?

Given the existing output schema and annotations, the description covers what the tool fetches, how the result is returned (plain text, paged), and the important missing-text edge case for recent items. An agent has enough information to invoke it correctly and interpret the main failure condition.

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%, so itemid, offset, and max_chars are already documented in the schema. The description reinforces that itemid comes from echr_search and that paging is supported, but it adds little semantic detail beyond the schema baseline.

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?

The description states a specific verb and resource: fetch the full text of one ECHR document by itemid. It distinguishes this from echr_search by identifying itemid as coming from search and noting echr_search's conclusion field as an immediate alternative when converted text is unavailable.

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?

It clearly signals that this tool is used after obtaining an itemid from echr_search and when full converted text is needed. It also gives the key exception: very recently published items may lack converted text, in which case echr_search's conclusion field is still available. It does not explicitly say when not to use the tool beyond that recent-item caveat.

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.