Skip to main content
Glama

Lire une décision judiciaire (Judilibre)

lire_decision_judiciaire
Read-onlyIdempotent

Lit une décision de la base Judilibre de LexTandem, désignée par son identifiant ou son ECLI : le texte entier par défaut, ou seulement les sections demandées. Quand le texte est trop long pour une seule réponse, il est découpé en parties aux limites de paragraphe (« partie 1 sur 3 »), sans rien perdre ; le paramètre partie donne la suite. La réponse donne aussi la citation, le lien vers courdecassation.fr, la juridiction, la date, les numéros, l’ECLI, la formation, la solution, la publication, les sections disponibles et leur longueur, le sommaire et les titrages officiels, les textes visés et la décision attaquée quand la base les a.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lire_decision_judiciaire"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoIdentifiant Judilibre, donné par rechercher_decisions_judiciaires. Donnez id ou ecli, pas les deux.
ecliNoECLI de la décision.
partieNoPartie du texte à lire, à partir de 1 (1 par défaut). La réponse dit combien il y en a.
sectionsNoSections à lire ; par défaut, le texte entier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already establish that this is a safe, idempotent read, so the description's job is to explain mechanics — and it does: long texts are split at paragraph boundaries into "partie 1 sur 3" with nothing lost, and the partie parameter fetches the rest. That chunking behavior is the single most important thing an agent could get wrong and is stated explicitly. With no output schema, the enumeration of returned metadata (citation, courdecassation.fr link, juridiction, date, numéros, ECLI, formation, solution, publication, sections and lengths, sommaire, titrages, textes visés, décision attaquée) supplies the missing return contract.

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?

Two sentences, front-loaded with the action and lookup keys before the pagination mechanic and then the return contents. The long enumeration of returned fields is dense but earns its place because no output schema exists. A shorter list grouped by category would read better, but nothing is padded.

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?

With four optional parameters, no output schema, and a non-destructive read annotation, the description covers the remaining gaps: how identification works, how truncation is handled across pages, and what the response contains. An agent can call this correctly and recover from a partial read using only the description plus schema. Nothing material to a correct invocation is missing.

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 the schema already documents id, ecli, partie, and sections including defaults and the one-of-id-or-ecli rule. The description restates the defaults ("le texte entier par défaut, ou seulement les sections demandées") and explains that partie is a continuation pointer, which adds a little framing beyond the schema's "Partie du texte à lire, à partir de 1". That is marginal rather than substantive added 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?

The description names a specific verb and resource ("Lit une décision") and anchors it to a named base (Judilibre de LexTandem), which implicitly separates it from lire_decision_administrative. It also states the two lookup keys and the default scope (full text vs. selected sections), so an agent knows exactly what it gets. Sibling differentiation is present but indirect, resting on the base name rather than an explicit contrast.

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?

Usage is only implied: you read a decision by its identifier or ECLI, and the schema tells you the id comes from rechercher_decisions_judiciaires. The description never states when to call this versus the search siblings, nor any precondition such as holding an id already. The continuation rule for 'partie' is behavioral rather than a when-to-use rule.

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