Skip to main content
Glama

Fr Judilibre Decision

fr_judilibre_decision
Read-onlyIdempotent

Read one French judicial decision by id (from fr_judilibre_search): full pseudonymised text, its structural zones (introduction/exposé/moyens/motivations/dispositif/annexes as character offsets into text), the texts it applies (visa, with best-effort cited_articles linking to @pipeworx/france-legi's code+article), related decisions (contested, forward, rapprochements) and attached files.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe decision id, from a fr_judilibre_search result.
resolve_referencesNoWhen true, the source resolves linked decision/text references inline instead of leaving them as bare ids (default false).

Output Schema

NameRequiredDescriptionDefault
idNo
nacNoNull in every sampled response; type not observed, so left unconstrained.
ecliNo
textNo
typeNo
visaNo
filesNo
zonesNo
numberNo
sourceNo
themesNo
chamberNo
forwardNoNull in every sampled response; type not observed, so left unconstrained.
numbersNo
summaryNo
languageNo
solutionNo
contestedNo
formationNo
data_as_ofNo
publicationNo
text_lengthNo
update_dateNo
jurisdictionNo
decision_dateNo
cited_articlesNo
rapprochementsNo
update_datetimeNo
decision_datetimeNo
cited_articles_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "chamber": {
      +      "type": "string"
      +    },
      +    "cited_articles": {
      +      "items": {
      +        "properties": {
      +          "article": {
      +            "type": "string"
      +          },
      +          "code": {
      +            "type": "string"
      +          },
      +          "parsed": {
      +            "type": "boolean"
      +          },
      +          "raw_title": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "cited_articles_note": {
      +      "type": "string"
      +    },
      +    "contested": {
      +      "properties": {
      +        "chamber": {
      +          "type": "string"
      +        },
      +        "date": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "Null in every sampled response; type not observed, so left unconstrained."
      +        },
      +        "jurisdiction": {
      +          "type": "string"
      +        },
      +        "number": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "solution": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "data_as_of": {
      +      "type": "string"
      +    },
      +    "decision_date": {
      +      "type": "string"
      +    },
      +    "decision_datetime": {
      +      "type": "string"
      +    },
      +    "ecli": {
      +      "type": "string"
      +    },
      +    "files": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "formation": {
      +      "type": "string"
      +    },
      +    "forward": {
      +      "description": "Null in every sampled response; type not observed, so left unconstrained."
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "jurisdiction": {
      +      "type": "string"
      +    },
      +    "language": {
      +      "type": "string"
      +    },
      +    "nac": {
      +      "description": "Null in every sampled response; type not observed, so left unconstrained."
      +    },
      +    "number": {
      +      "type": "string"
      +    },
      +    "numbers": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "publication": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rapprochements": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "solution": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "text_length": {
      +      "type": "number"
      +    },
      +    "themes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": {
      +      "type": "string"
      +    },
      +    "update_date": {
      +      "type": "string"
      +    },
      +    "update_datetime": {
      +      "type": "string"
      +    },
      +    "visa": {
      +      "items": {
      +        "properties": {
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "zones": {
      +      "properties": {
      +        "annexes": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "dispositif": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "expose": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "introduction": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "motivations": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "moyens": {
      +          "items": {
      +            "properties": {
      +              "end": {
      +                "type": "number"
      +              },
      +              "start": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world behavior, yet the description adds substantive detail: the text is pseudonymised, structural zones are given as character offsets into `text`, and cited articles are best-effort links to france-legi. It does not mention error behavior for an unknown id or any rate/auth constraints, so it stops short of a 5.

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?

Front-loaded with the action and id provenance, then enumerates return content. It is a single dense sentence with heavy parentheticals, which is efficient but slightly harder to scan than a short bulleted structure would be.

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?

Given an existing output schema and annotations, the description covers what an agent needs to decide and act: id provenance, that the text is pseudonymised, the shape of structural zones as offsets, and what extra artefacts (visa, related decisions, files) come back.

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% and the schema itself explains the id source, so the baseline is 3. The description nevertheless adds meaning by explaining that citations are best-effort and resolved to code+article, which contextualises the `resolve_references` flag beyond its schema text.

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 and resource ("Read one French judicial decision by id") and immediately names the sibling that produces that id (fr_judilibre_search), which distinguishes it from the search and taxonomy tools without needing the 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?

It makes the workflow explicit: the id must come from fr_judilibre_search, implying this tool is the follow-up fetch after a search. It gives clear context for use, but offers no explicit exclusion or alternative path for someone who wants only metadata or taxonomy terms.

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.