Skip to main content
Glama

Lire un texte de la base CNIL (délibérations et site cnil.fr)

lire_cnil
Read-onlyIdempotent

Lit un objet de la base CNIL de LexTandem (délibération ou décision, page de cnil.fr, question de CNIL Direct, document PDF ou partie d’un PDF), désigné par son identifiant. La réponse donne la référence, le lien officiel, la source et sa licence, avec la date de mise à jour du fonds ou la date de relevé de la page ou du PDF, les champs de la source en clair (numéro, type, date du texte, mise en ligne sur Légifrance, état juridique, NOR ; type d’article, thématique, mots-clés, public, fil d’Ariane ; pages et date d’un PDF), les liens sortants tels que la page les donne (Légifrance, EUR-Lex, CURIA…), les objets liés avec leurs identifiants (délibération citée par une page ou par un PDF, PDF liés par une page, page qui lie un document), les parties voisines, puis le texte tel que la source le publie. Un document PDF donne son sommaire : l’identifiant, les pages et la taille de chaque partie. Quand la réponse est trop longue pour une seule fois, elle est découpée en parties (« partie 1 sur 3 »), sans rien perdre ; le paramètre partie donne la suite. L’identifiant « notice » donne la notice de la base : contenu et limites, natures et types, délibérations sans texte et dates au 31 décembre, anonymisation des sanctions, sanctions en procédure simplifiée, ce qui engage la CNIL, licences et façon de citer.

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": {
      "id": "<id>"
    },
    "name": "lire_cnil"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifiant donné par rechercher_cnil ou par une lecture (objet lié, partie d’un sommaire, voisin), par exemple CNILTEXT000055022778 (délibération), CNIL:page:837 (page de cnil.fr) ou CNIL:pdf:24db70b5-tablesil_cnil.pdf/p16 (16e partie d’un PDF : le nombre après /p est le rang de la partie, pas une page) ; « notice » pour la notice de la base.
partieNoPartie de la réponse à lire, à partir de 1 (1 par défaut). La réponse dit combien il y en a.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

With no output schema, the description carries the burden and does so richly: it lists the returned reference, official link, source and licence, update date, plain-text fields by source type, outgoing links, related objects with their ids, neighbouring parts, and the source text. It further discloses the PDF table-of-contents behavior and the multi-part truncation scheme ('partie 1 sur 3'), plus the special 'notice' identifier — all well beyond what readOnlyHint/idempotentHint declare.

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 purpose is front-loaded, then the response contents, then pagination, then the notice special case. It is dense and the long middle enumeration of every returned field reads as a run-on, but each element is substantive information an agent would otherwise lack given the missing output schema.

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 and no annotation detail about results, so the description supplies the full response contract, the polyglot identifier space, the PDF summation behavior, the truncation/pagination protocol, and a documented meta-entry ('notice'). Nothing an agent needs in order to call and interpret this tool appears missing.

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 real meaning: it explains why 'partie' exists (the response is split rather than truncated, and the response states how many parts exist), which the schema alone does not convey. The id formats are already documented in the schema, so most of that ground is covered there.

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 ('Lit') and a precisely scoped resource ('objet de la base CNIL de LexTandem') and enumerates the object types covered (délibération, décision, page cnil.fr, question CNIL Direct, PDF ou partie d'un PDF). It also makes clear this is a read-by-identifier operation, which an agent can distinguish from the search siblings without opening any schema.

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 context of use is clear: it reads an object by the id obtained from a search or a prior read, and it explains the continuation workflow ('le paramètre partie donne la suite') when the response is truncated. It does not explicitly name rechercher_cnil or the other lire_* siblings as alternatives, so the routing guidance is implied 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.

Resources