Skip to main content
Glama

search_judiciaire_libre

Read-only

Recherche plein texte dans la jurisprudence judiciaire, exécutée localement et affranchie de toute obligation d'authentification gouvernementale.

Exploite l'index FTS5 des archives publiques DILA enrichies par la
synchronisation quotidienne Judilibre (2 596 246 décisions au 10/09/2026 :
Cour de cassation 1 092 897, cours d'appel 601 745, tribunaux judiciaires
717 756, tribunaux de commerce 175 152, Conseil constitutionnel 7 388).
Scoring BM25 disponible mais tri appliqué par ordre chronologique décroissant.

**Couverture connue** : la base contient ce que DILA et Judilibre publient
en open data ; les juridictions du fond (TJ, tribunaux de commerce) y sont
surtout depuis 2023, la cassation depuis 1805. Tous les arrêts ne sont PAS dans la base ; un faux négatif
n'implique donc pas que l'arrêt n'existe pas. En cas de bredouille,
suggérer à l'utilisateur de chercher sur Légifrance ou via PISTE
(`search_judiciaire`).

**Recherche par numéro de RG** : pour les arrêts CA, utiliser le param
`numero_rg` (lookup direct, normalise les variantes 21/05835, 21-05835,
2105835). Pour les pourvois Cass, utiliser `query` avec le numéro
(ex: query="21-12.345").

⚠️ Les résultats ne contiennent qu'un SNIPPET tronqué (`snippet`), pas
le texte intégral. Pour lire une décision en entier, appeler
`get_decision_judiciaire_libre(decision_id=…)` avec l'id retourné (formats :
`JURITEXT*` Cass / cours d'appel historiques, `CONSTEXT*` Conseil
constitutionnel, id hexadécimal 24 caractères pour les décisions
synchronisées via Judilibre — TJ, tribunaux de commerce, flux récents).
Ne pas se fier au snippet seul pour conclure sur le contenu.

Args:
    query: mots-clés (ex : "licenciement abusif"). FTS5 supporte
        `"phrase exacte"`, `mot1 AND mot2`, `mot*` (préfixe). Optionnel
        si `numero_rg` est fourni.
    juridiction: filtre optionnel : "cassation" / "appel" / "tj" / "tcom" / "constit".
        `tj` englobe les anciens tribunaux de grande instance et d'instance
        (fusionnés en 2020) ; `tcom` les tribunaux des activités économiques
        (nouveau nom depuis 2025). Toutes les écritures de la base sont
        couvertes (« cc » et « Cour de cassation » désignent la même cour).
    numero_rg: numéro RG d'un arrêt CA (ex: "21/05835"). Lookup direct
        qui matche toutes les variantes typographiques.
    date_min: date min ISO (YYYY-MM-DD), optionnel
    date_max: date max ISO (YYYY-MM-DD), optionnel
    limit: nombre maximum de résultats (défaut 20, max 50)
    offset: décalage pour paginer (défaut 0). Si la réponse contient
        `truncated: true`, réitérer avec `next_offset` pour la suite.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
date_maxNo
date_minNo
numero_rgNo
juridictionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "title": "Offset",
      +  "type": "integer"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / date_max
      Added value: +{
      +  "default": "",
      +  "title": "Date Max",
      +  "type": "string"
      +}
    • addedInput schema / properties / date_min
      Added value: +{
      +  "default": "",
      +  "title": "Date Min",
      +  "type": "string"
      +}
    • addedInput schema / properties / numero_rg
      Added value: +{
      +  "default": "",
      +  "title": "Numero Rg",
      +  "type": "string"
      +}
    • addedInput schema / properties / query / default
      Added value: +""
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

With readOnlyHint=true annotation already indicating read-only behavior, the description adds significant value beyond it: it details the coverage (as of 10/09/2026, with counts per jurisdiction), the sorting behavior (chronological descending despite BM25 scoring), and the critical limitation that results return only snippets, not full text. This is rich context that helps the agent set expectations and avoid misinterpretation. The only minor gap is not explicitly stating that the tool is read-only, but the annotation covers that; the description's extra detail on coverage and snippets compensates well.

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?

The description is detailed but well-structured: starts with the core purpose, then coverage, then usage caveats, then parameter explanations. It uses markdown headers and bullet points for clarity. Some redundancy exists (e.g., repeating the warning about false negatives in both the coverage section and later), but overall it is information-dense without being rambling. The front-loading of the core purpose and the alternative is effective. A 5 would require trimming the repetitive caution, but it remains concise for the amount of information.

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 the high complexity (7 parameters, 0% schema coverage, multiple jurisdictions, edge cases like RG variants, pagination, false negatives), the description is remarkably complete. It covers all parameters, provides usage examples for RG and Cassation numbers, explains output limitations (snippet only), and points to the 'get' tool with decision ID formats. With an output schema present, it need not explain return values in detail, but it even hints at truncated/next_offset. There is no missing information an agent needs to call the tool correctly.

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?

The schema coverage is 0%, so the description must carry all parameter semantics, which it does excellently. It explains each parameter in detail: query supports FTS5 syntax (phrase, AND, prefix), juridiction defines allowed values and mappings (e.g., 'tj' includes old TGI/TI), numero_rg normalizes variants, date_min/max are ISO, limit/offset with pagination and truncated/next_offset. This far exceeds what the schema provides. A 5 would require even more nuance, but it's already very strong; the slight deduction is for not clarifying the exact format of date_min/max beyond ISO, but that is minor.

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 clearly states it performs full-text search in judicial case law, executed locally without government authentication. It specifies the resource (bulk DILA archives enriched by Judilibre) and distinguishes itself from the sibling 'search_judiciaire' by mentioning it as an alternative, making the tool's unique offering explicit.

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?

The description explicitly provides when to use this tool (for open-data judicial case law with local execution, no auth) and when not to (when the user needs Légifrance or PISTE via search_judiciaire). It also gives specific guidance for searching by RG number vs. Cassation pourvois, and warns about false negatives, providing actionable alternatives. This is thorough and directly guides tool selection.

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