Skip to main content
Glama

Fiscalité française ouverte, par BENSAID Avocats

Lire un article du CGI ou du LPF (Légifrance)

legifrance_article
Read-onlyIdempotent

Texte en vigueur d'un article du Code général des impôts (cgi) ou du Livre des procédures fiscales (lpf), par son numéro (ex. 150-0 B ter, 757 B, L. 64), avec l'identifiant LEGIARTI, la date d'entrée en vigueur et le lien Légifrance. Source : Légifrance (DILA) via l'API PISTE, licence ouverte Etalab 2.0, consulté à la date de l'appel ; mis en cache 24 h. / In-force text of a French General Tax Code (cgi) or Tax Procedure Book (lpf) article by number, from Légifrance (DILA) through the PISTE API, Etalab 2.0 open licence; cached 24 h.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYescgi ou lpf.
articleYesNuméro d'article : 150-0 B ter, 757 B, L. 64. / Article number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds substantive context beyond them: 24-hour caching, provenance (Légifrance/DILA via API PISTE), Etalab 2.0 licence, and that content is current as of the call date. The only gap is no note on failure behavior for invalid article numbers.

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?

Front-loaded with the core purpose and lookup key before provenance details. The French/English duplication is slightly redundant, but the bilingual phrasing is deliberate for a French-source tool and each clause carries 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?

With no output schema, the description helpfully enumerates what is returned (in-force text, LEGIARTI identifier, entry-into-force date, Légifrance link) plus caching and source provenance. An agent has everything needed to invoke it and interpret the result.

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 both parameters are documented in the schema, including the enum for code and article-number examples. The description restates the same examples (150-0 B ter, 757 B, L. 64) without adding format rules or constraints beyond the schema, so the baseline of 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 and resource — 'Texte en vigueur d'un article' — scoped to CGI/LPF codes, with the lookup key (article number) and examples. This clearly distinguishes it from siblings like bofip_get or conventions_article, which cover different corpora.

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

Usage Guidelines3/5

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

Usage is implied by the resource scope (get an article when you know the code and article number), and examples of valid article numbers are given. However, there is no explicit when-to-use guidance nor any routing against sibling tools that also retrieve tax texts.

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