Skip to main content
Glama

Fr Article Versions

fr_article_versions
Read-onlyIdempotent

Version history of an article of a French code: every consolidated version with its dates of entry into force and end, its status (VIGUEUR, MODIFIE, ABROGE...) and its text, from DILA's LEGI base. Pass a LEGIARTI id, or code + article. Use for "how has article L1237-19 of the Code du travail changed", "what did article 1382 of the Code civil say before 2016".

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": {
      "code": "Code civil",
      "article": "1382"
    },
    "name": "fr_article_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA LEGIARTI id, e.g. LEGIARTI000032041571 (any version of the article).
codeNoWith article, instead of id. The code: its title ("Code civil", "Code du travail", "Code général des impôts"), a short form ("civil", "travail", "CGI", "CPP", "CSP"), or its Légifrance cid (LEGITEXT000006070721).
articleNoWith code, instead of id: the article number, e.g. "1240".
include_textNoInclude each version's text (default true; the 20 most recent versions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, and open-world, so the safety profile is covered. The description adds real behavioral value beyond that: it identifies the upstream source (DILA's LEGI base), enumerates the status vocabulary (VIGUEUR, MODIFIE, ABROGE), and states that versions carry effective-date ranges, which tells an agent what a response looks like.

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?

Two sentences: the first front-loads what is returned and from which source, the second gives invocation shape and example intents. No filler, no repetition of the name or title, and the payload description precedes the usage examples.

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?

There is no output schema, so the description must carry the return-value burden, and it does: version records with entry-into-force and end dates, status, and text. Combined with the annotations covering read-only semantics and the fully documented schema, an agent has enough to call it correctly and interpret results.

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%, so the baseline is 3, but the description adds meaning by stating the two mutually exclusive addressing modes in one place: a single LEGIARTI id versus a code + article pair, with 'any version of the article' accepted as the id. That disambiguates which parameter set to supply at call time, though it does not elaborate on include_text behavior beyond the schema.

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 names a specific resource and scope: the full version history of a single article of a French code, including dates of entry into force/end, legal status codes, and text, sourced from DILA's LEGI base. This clearly distinguishes it from siblings like fr_code_article and fr_code_toc, which deal with the current text or the table of contents rather than historical versions.

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?

Usage is made concrete with two quoted example questions ('how has article L1237-19 of the Code du travail changed', 'what did article 1382 of the Code civil say before 2016') that map directly to the historical-version use case. It does not name or explicitly exclude a sibling alternative, so the when-not guidance is implicit rather than stated.

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.