Skip to main content
Glama

Lire des articles de codes ou de lois (Légifrance)

recuperer_articles_complets
Read-onlyIdempotent

Récupère le contenu intégral de multiples articles juridiques en parallèle.

Utilise l'endpoint /consult/getArticle de l'API Légifrance pour obtenir le texte complet, les métadonnées, et le contexte juridique de chaque article. Cette fonction optimise les performances via un traitement parallèle et thread-safe.

UTILISATION OPTIMALE: Après avoir identifié les articles d'intérêt via les fonctions d'exploration (explorer_section_detaillee, recherche_universelle_avancee), cette fonction permet d'obtenir le contenu détaillé pour analyse approfondie.

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": {
      "article_ids": "<article_ids>"
    },
    "name": "recuperer_articles_complets"
  }
}

Input Schema

NameRequiredDescriptionDefault
article_idsYesListe d'identifiants techniques d'articles à récupérer. Format attendu: identifiants LEGIARTI ou KALIARTI suivis de chiffres ATTENTION: Chaque ID doit être valide et correspondre à un article existant. Recommandé: 5-50 articles par appel pour performance optimale. Maximum suggéré: 100 articles simultanés

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/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 adds real value beyond them: the underlying endpoint, parallel thread-safe batch processing, and the fact that results include full text, metadata and legal context. It does not discuss failure behavior for invalid or missing IDs, which the schema only warns about generically.

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?

Structure is sensible: purpose first, then mechanism, then workflow guidance, with the most actionable instruction in a labelled block. Some sentences are padded by awkward line breaks and the thread-safety claim is a minor flourish, but nothing is redundant enough to warrant cutting.

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?

There is no output schema, and the description compensates by naming what comes back: full text, metadata and legal context. Combined with the one-parameter schema and rich annotations, an agent has what it needs to call this correctly. A brief note on behavior with invalid IDs or partial failures would close the remaining gap.

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 coverage is 100% and the single article_ids parameter is documented in detail in the schema itself (LEGIARTI/KALIARTI format, 5-50 recommended, 100 max). The description reinforces batching and parallelism but adds no format or constraint information beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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: retrieves the full content of multiple legal articles, sourced from Légifrance's /consult/getArticle endpoint. This distinguishes it from the sibling lire_* tools that target other corpora (BOFiP, BOSS, CNIL, EUR-Lex). It stops short of explicitly contrasting itself with those siblings, but the Légifrance scoping makes the target unambiguous.

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?

The 'UTILISATION OPTIMALE' block gives a clear precondition: call this after identifying articles via explorer_section_detaillee or recherche_universelle_avancee, for in-depth analysis. That is genuine routing guidance to a two-step workflow. It lacks an explicit when-not-to-use statement or a note about what to do if an ID is invalid, which keeps it below a 5.

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