Skip to main content
Glama

Lire une décision administrative

lire_decision_administrative
Read-onlyIdempotent

Lit une décision de la base de droit public de LexTandem, désignée par son identifiant, son ECLI ou son identifiant Légifrance (CETATEXT…) : 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, les liens de toutes les versions (open data, Légifrance, ArianeWeb), la juridiction, la date, les numéros, l’ECLI, la formation, la solution, la publication, les sections disponibles et leur longueur, le résumé officiel (titrages, analyses) et les visas 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_administrative"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoIdentifiant donné par rechercher_decisions_administratives. Donnez id, ecli ou legifrance_id (un seul).
ecliNoECLI de la décision, de n’importe quelle version.
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.
legifrance_idNoIdentifiant Légifrance de la décision (CETATEXT…).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the description is not obligated to cover safety. It nonetheless adds real behavioral detail beyond them: paragraph-boundary pagination with 'partie 1 sur 3' and no loss of content, default full-text vs section selection, and an enumeration of everything the response carries (citation, version links, juridiction, formation, solution, publication, section lengths, résumé, visas). Missing only failure behavior for an unknown or multiple identifier.

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?

Purpose is front-loaded in the opening clause and every segment carries information (identifier forms, pagination, response contents). The second half becomes a dense colon-and-comma run-on enumerating returned fields, which slightly hurts scannability but wastes no words.

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?

There is no output schema, and the description compensates fully by enumerating the returned metadata and the pagination contract. Combined with 100% schema coverage on inputs, nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns extra credit by explaining the workflow meaning of 'partie' (how to fetch the next chunk) and the default semantics of 'sections' (whole text unless sections are requested), which the schema documents only mechanically.

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 (lit) and resource (une décision de la base de droit public de LexTandem), and the scope of the base 'droit public' plus the identifier forms (id, ECLI, CETATEXT) separate it from lire_decision_judiciaire and the rechercher_* siblings without opening any schema.

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?

Makes clear this is a retrieval-by-identifier tool (id / ECLI / identifiant Légifrance) and explains the continuation workflow when the text is split into parts. It stops short of naming when to prefer a sibling such as the search tool, so there are no explicit exclusions, but the usage context is unambiguous.

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