Skip to main content
Glama
France Legal Research MCP Server

France Legal Research MCP Server

by jurisatlas

Get Legal Document Markdown

get_legal_document_markdown

Retrieve full Markdown text of French legislation or court judgments from HTML/PDF by URL or official identifier for analysis and citation.

Instructions

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from France (FR) by its URL or official identifier.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (5,000 characters per page).
document_id_or_urlYesDocument URL (.html or .pdf), ECLI, ELI, or official ID returned by search tools.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden; it does disclose the useful behavioral fact that HTML and PDF sources are both converted to Markdown. However, it says 'full Markdown text' while the tool is paginated at 5,000 characters per page, so an agent gets no warning that a long document arrives in slices, and nothing is said about permissions, rate limits, or error behavior.

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?

A single front-loaded sentence with the verb, resource, source formats, jurisdiction and accepted identifiers packed in without waste.

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?

An output schema exists and the input schema is fully annotated, so return values and parameters need no explanation. The one remaining gap is that the description promises 'full' text without acknowledging the page-based retrieval the schema imposes.

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 coverage is 100%, so both parameters are already fully documented, including the identifier formats and the page size. The description adds only the FR jurisdiction scoping, which does not go beyond what the schema already conveys about parameter meaning.

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 and resource ('Retrieve full Markdown text of a legislation document or court judgment'), plus jurisdiction (France/FR) and accepted identifiers. It implies a fetch-a-known-document role distinct from the search_* siblings, but never names an alternative explicitly.

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

Usage Guidelines3/5

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

The phrase 'by its URL or official identifier' implies this is the step after a search, and the schema mentions IDs 'returned by search tools', but neither the description nor structured fields state when to prefer this over search_legislation or verify_citation. Usage is inferred rather than instructed.

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