Skip to main content
Glama

Rechercher des décisions judiciaires (Judilibre)

rechercher_decisions_judiciaires
Read-onlyIdempotent

Cherche des décisions de la justice judiciaire dans la base Judilibre de LexTandem (Cour de cassation, cours d’appel, tribunaux judiciaires, tribunaux de commerce) : par mots, expressions, proximité et sections, par numéro ou par ECLI, avec filtres (niveau, juridiction, siège, formation, solution, publication, type, dates), tri et pages. Chaque résultat donne d’abord la citation prête à l’emploi et le lien vers la décision sur courdecassation.fr, puis la juridiction, la date, les numéros, l’ECLI, la formation, la solution, la publication, les sections où les mots ont été trouvés, un extrait et l’identifiant à passer à lire_decision_judiciaire. La réponse dit aussi ce que la base a ignoré ou assoupli.

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": "rechercher_decisions_judiciaires"
  }
}

Input Schema

NameRequiredDescriptionDefault
triNopertinence (par défaut), date_decroissante ou date_croissante ; avec ou sans texte.
ecliNoECLI de la décision (ECLI:FR:CCASS:…, ECLI:FR:CA…).
pageNoPage de résultats, à partir de 1.
texteNoCe qu’il faut trouver dans le texte des décisions. Un mot qui finit par * cherche tous les mots qui commencent ainsi (licenci*). Majuscules et pluriels n’empêchent pas de trouver, mais les accents comptent : écrivez les mots avec leurs accents (« securite sociale » trouve bien moins que « sécurité sociale »).
numeroNoNuméro de pourvoi ou de RG ; formes tolérées : « 21-85.814 », « 21-85814 », « n° 21-85.814 », « RG 23/03806 ».
filtresNoFiltres, tous facultatifs ; chacun accepte plusieurs valeurs. Les codes sont ceux de la base : un code inconnu renvoie la liste des codes permis.
par_pageNoRésultats par page, de 1 à 50 (10 par défaut).
sectionsNoSections où chercher ; par défaut, partout. resume : sommaires, titrages et analyses officiels. Une section que la base n’a pas est ignorée, et la réponse le dit.
assouplirNoSi rien n’est trouvé, la base réessaie en exigeant moins de mots, puis au moins un, et dit ce qu’elle a assoupli.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the safety profile is settled; the description goes further by disclosing the exact return shape (ready-to-use citation and courdecassation.fr link first, then juridiction, date, numéros, ECLI, formation, solution, publication, matched sections, extrait) and, importantly, that the response reports what the base ignored or relaxed. That degradation disclosure is genuine behavioral context an agent could not get from the schema or annotations.

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 verb, corpus and database before any enumeration. The long parenthetical lists of filters and returned fields are dense but each item earns its place by telling the agent what is searchable and what comes back; a bulleted split would read better but nothing is redundant padding.

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?

This is a nine-parameter tool with nested objects and no output schema, so the description must carry both the query model and the return contract — and it does, covering search modes, filters, sorting, paging and the full result payload. It also closes the loop with the identifiant for the read tool, leaving no gap an agent needs filled before calling it.

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% and the nested schema already documents wildcards, accent sensitivity, tolerated numéro formats, per-filter code examples and the assouplir fallback. The description's enumeration of search modes and filter categories largely restates those parameters at a summary level rather than adding syntax or constraint detail, so the baseline 3 applies.

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 (cherche) and resource (décisions de la justice judiciaire) plus the exact database (Judilibre de LexTandem) and the four court types covered. It also enumerates the supported search modes (mots, expressions, proximité, sections, numéro, ECLI, filtres, tri, pages), so an agent can see at a glance that this is the judicial-order search tool rather than the administrative-order sibling.

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?

Use context is clear: search here, then hand the returned identifiant to lire_decision_judiciaire, which is named explicitly as the downstream step. What is missing is any explicit negative guidance — nothing says when to prefer recherche_universelle_avancee or the BOFIP/BOSS/administrative searchers — but the 'justice judiciaire' scoping makes the boundary inferable.

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