Skip to main content
Glama

Lire une décision de jurisprudence (Judilibre ou Légifrance)

consult_juri_details
Read-onlyIdempotent

Récupère le contenu intégral et détaillé d'une décision de jurisprudence.

Dans le connecteur LexTandem, une décision qui se trouve dans Judilibre est renvoyée depuis Judilibre (même forme que lire_decision_judiciaire, avec son lien courdecassation.fr) ; sinon, utilise l'API Légifrance /consult/juri pour obtenir le texte complet d'une décision de jurisprudence avec tous ses métadonnées : texte intégral, analyse, moyens, dispositif, etc. Cette fonction est optimisée pour extraire et structurer l'information juridique de manière claire.

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": {
      "decision_id": "<decision_id>"
    },
    "name": "consult_juri_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_idYesIdentifiant(s) technique(s) de la/les décision(s) à consulter. - Si str: Un seul identifiant - Si List[str]: Plusieurs identifiants Format requis: "JURITEXT" suivi de 15 chiffres. Ces identifiants sont typiquement obtenus via: - `recherche_universelle_avancee()` : champ 'id' dans resultats_jurisprudence - `explorer_plan_classement_juri_unifie()` : champ 'id_juritext' si disponible IMPORTANT: Les identifiants doivent être exacts et valides, sinon retourne une erreur.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description still adds real value by disclosing the source-switching behavior and the fields returned (texte intégral, analyse, moyens, dispositif). It also warns that invalid identifiers produce an error, which the annotations do not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but a full sentence is spent on implementation detail about the LexTandem connector and the closing phrase ('optimisée pour extraire et structurer l'information juridique de manière claire') is unsubstantiated filler. Tighter phrasing would route the agent faster.

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?

For a one-parameter read tool with full schema coverage and no output schema, the definition covers what is fetched and from where, which is most of what an agent needs. The missing piece is the boundary versus lire_decision_judiciaire, which the reader must infer.

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%: the single decision_id parameter already documents the string-or-list union, the 'JURITEXT' + 15 digits format, where to obtain IDs, and the error on invalid input. The description adds nothing about the parameter, so the baseline of 3 applies.

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 opens with a specific verb and resource ('Récupère le contenu intégral et détaillé d'une décision de jurisprudence') and even explains the two backends it may read from. It mentions the sibling lire_decision_judiciaire, but only as a shape comparator ('même forme que...'), so an agent still cannot tell from this text which of the two to call.

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

Usage Guidelines2/5

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

The only routing statement ('si la décision est dans Judilibre... sinon Légifrance') describes internal backend dispatch, not when an agent should choose this tool over lire_decision_judiciaire or the rechercher_* tools. No prerequisites, exclusions, or alternative-selection criteria are given.

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