Skip to main content
Glama

Get Decision

get_decision
Read-onlyIdempotent

Fetch the full text and metadata of a decision by its url. The text carries inline markdown links to cited articles (/texte/, open with get_legal_text) and cited decisions (/decision/, open with get_decision); a citation spanning several articles (« articles 3 à 6 », « et suivants ») links its first article and appends the others as labelled links right after the span. appellateFate states in one line what became of THIS decision on review (INFIRMATION = reversed, it no longer stands; CONFIRMATION = upheld) — read it before citing the decision as authority. caseChronology lists the prior AND subsequent decisions of the same case (appeal, pourvoi, renvoi); a step without url is one the corpus does not hold, named by the decision attacking it. An absent fate or chronology never proves no recourse exists, only that none is linked in the corpus. commentaires carries the institutional commentary (official analyses inline, links to the rapporteur public's conclusions and related court documents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesA librejustice.fr decision URL, from a search_decisions hit or an inline citation link; search_decisions first if you have neither.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
textYes
titleYes
officeNo
chamberNoChamber that heard the case, as "<court>|<chamber>", reusable verbatim as the chamber filter.
solutionNo
procedureNo
dateLectureNo
legalDomainNo
officialUrlNoThe decision on its official publisher: legifrance.gouv.fr, courdecassation.fr, opendata.justice-administrative.fr, conseil-constitutionnel.fr, hudoc, eur-lex. Cite this when the deliverable requires the authoritative source; `url` is the LibreJustice page. Absent when the publisher exposes no per-decision permalink.
publicationNoPublication values carried, reusable verbatim as the publication filter.
commentairesNoInstitutional commentary anchored on this document: court-written analyses served inline (`body`), plus outbound links (`url`) to the rapporteur public's conclusions and to related institutional documents (reports, opinions, press releases). Context, never the ruling itself — quote the decision text, not a commentaire, as the court's words.
appellateFateNoFate of THIS decision before the court that reviewed it, precomputed from caseChronology: 'INFIRMATION — Cour d'appel de Paris, 1 juillet 2025 (url)'. INFIRMATION = this decision was reversed and no longer stands; CONFIRMATION = upheld. Absent = no recourse known to the corpus, which never proves the decision is final.
docketNumbersNo
caseChronologyNoPrior and subsequent decisions of the same case (appeal, pourvoi, renvoi), most recent first, current decision included. The fate of a judgment reads in the solution of the decision that reviewed it (INFIRMATION = reversed, CONFIRMATION = upheld). Absent chronology never proves no recourse exists.
jurisdictionCodeNo
jurisdictionTypeYes

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description adds context beyond them: citation links are inline markdown, multi-article citations resolve to the first article with labelled links after the span, and absent `appellateFate` or `caseChronology` does not prove no recourse exists. These are substantive interpretive details an agent cannot infer from schema or annotations alone.

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?

The description is long but every sentence earns its place: it front-loads the core operation, then gives compact explanations of citation formatting, appellate fate, case chronology, absent-field caveats, and commentary contents. The structure is dense but purposeful, and no sentence is wasted or redundant with the schema.

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 one fully documented required parameter, read-only annotations, and an output schema present, the remaining risk is semantic misinterpretation of legal fields. The description addresses exactly that by explaining `appellateFate`, `caseChronology`, the open-world caveat for missing data, and what `commentaires` contains. An agent has enough context to call and interpret this tool correctly.

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?

The schema covers the only parameter fully, including its source (search_decisions hit or inline citation link) and its fallback guidance. The description reinforces "by its `url`" but adds little parameter-specific meaning beyond what the schema already provides; its rich detail is mostly about output-field semantics rather than the input parameter.

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?

The description opens with a specific verb and resource: "Fetch the full text and metadata of a decision by its `url`." It differentiates from siblings by explaining how /texte/ links route to get_legal_text and /decision/ links route to get_decision, so an agent can distinguish this lookup tool from search_decisions and get_legal_text without ambiguity.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: a decision URL should come from a search_decisions hit or an inline citation link, and if neither is available, the agent should call search_decisions first. It also tells the agent to read `appellateFate` before citing the decision as authority, which is a concrete usage 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.

TDQS

A4.8/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action: getting a decision, getting a legal text, searching decisions, searching legal texts, and listing user activity. Despite shared verbs like 'get' and 'search', the object nouns make the boundaries clear with no meaningful overlap.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: get_decision, get_legal_text, list_my_activity, search_decisions, search_legal_texts. Pluralization is used consistently for search operations and singular nouns for direct retrieval, with no mixed conventions.

Tool Count5/5

Five tools is a tight, well-scoped set for a legal research server: two retrieval tools, two search tools, and one user-activity tool. Each tool earns its place and there is no redundancy or padding.

Completeness4/5

The core research workflow is covered: search and retrieve both legal texts and decisions, with citations and commentary embedded inline. The only minor gap is the lack of explicit bookmark management or citation-list navigation, but those are documented as embedded behaviors rather than dead ends.