Skip to main content
Glama
jurisatlas-mcp

jurisatlas-mcp

Official
by jurisatlas

Get Legal Document Markdown

get_legal_document_markdown
Read-onlyIdempotent

Retrieve full Markdown text of legislation or court judgments by jurisdiction using a URL, ECLI, ELI, or official identifier, with paginated results and warnings when access is blocked.

Instructions

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) for a specified jurisdiction using its URL, ECLI, ELI, or official identifier. Supports 5,000-character pagination and surfaces transparent warnings if blocked.

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": {
      "jurisdiction": "<jurisdiction>",
      "document_id_or_url": "<document_id_or_url>"
    },
    "name": "get_legal_document_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (5,000 characters per page).
jurisdictionYesTarget jurisdiction ISO code or country name (e.g. 'uk', 'ch', 'eu', 'us').
document_id_or_urlYesDocument URL (.html or .pdf), ECLI, ELI, U.S.C. citation, or ID returned by search tools.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/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 adds real behavioral value beyond that: 5,000-character pagination and the surfacing of a `warnings` field when content is blocked. It does not cover failure modes such as wrong-jurisdiction lookups or malformed PDF extraction.

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, zero waste, and the core action is front-loaded ahead of the pagination and warnings details. Nothing is repeated or padded.

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 an output schema present, the description needn't explain return values, and it still flags pagination and the `warnings` field. It is largely complete for a three-parameter retrieval tool, though it could say more about blocked access or jurisdiction mismatch behavior.

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 the schema already documents jurisdiction codes, the identifier/URL forms, and the 5,000-character page semantics. The description restates the pagination size and identifier types without adding syntax, format, or edge-case detail beyond the schema, so the baseline 3 applies.

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 (Retrieve) and resource (full Markdown text of a legislation document or court judgment), plus the accepted identifier forms. This clearly distinguishes it from the sibling search_* tools: this one fetches a known document by URL/ECLI/ELI/ID rather than discovering one.

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?

The mention of 'ID returned by search tools' in the schema and the identifier forms imply the workflow: search first, then retrieve here. It gives clear context for use but never states exclusions or what to do if the identifier is unknown or ambiguous, so it stops short of full when/when-not guidance.

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