Skip to main content
Glama

Lire des travaux parlementaires (Assemblée nationale et Sénat)

lire_travaux_parlementaires
Read-onlyIdempotent

Lit un objet de la base Parlement de LexTandem (dossier, texte, article, amendement, scrutin), désigné par son identifiant. La réponse donne la référence complète, le lien vers la page officielle, la source et sa date de mise à jour, les champs de la source en clair (auteurs et cosignataires avec leur groupe, organe, lecture, article et alinéa visés, sort, avis, dates…), les objets liés tels que la source les donne, avec leurs identifiants (pour un amendement : son dossier, son texte, sa séance ; pour un dossier : ses étapes dans l’ordre, avec leurs textes, rapports, séances et la loi publiée), les objets d’avant et d’après, puis le texte par sections (dispositif et exposé, texte d’un article). Un objet cité que la base n’a pas (séance ou réunion de commission, document pas encore chargé) est signalé comme non lisible. Un gros objet (texte, dossier) donne son sommaire, avec l’identifiant 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 : étapes de la procédure et sens de « adopté » à chacune, numérotation des amendements, sorts et avis, couverture et dates de chaque source.

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_travaux_parlementaires"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifiant donné par rechercher_travaux_parlementaires ou par une lecture (objet lié, voisin, partie d’un sommaire), par exemple AMANR5L17PO838901B3210P1D1N001358 ou SN:dossier:pjlf2026 ; « 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.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: unresolvable cited objects are flagged as non-readable, large objects return a table of contents with identifiers and sizes, and long responses are split into numbered parts with nothing lost, resumed via the partie parameter. It does not mention the 'notice' pseudo-id behavior explicitly here—though it does: the identifiant « notice » returns the database notice.

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 what the tool reads. It is dense and somewhat long, with heavy parenthetical enumerations, but each sentence conveys substantive behavior (response shape, truncation, notice). Slightly overstuffed but no filler sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read tool with no output schema, the description is unusually complete about return contents and the truncation/continuation mechanism. However, it does not state whether lecture is idempotent across partie values (annotations claim idempotentHint=true, which is arguably questionable when partie changes), and it doesn't quantify part sizes or pagination cost.

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 baseline would be 3. The description adds meaning beyond the schema: it explains that partie is used to continue a multi-part response ('le paramètre partie donne la suite'), and explains the special « notice » id value, which the schema also mentions but the description ties to the notice contents.

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 resource (un objet de la base Parlement: dossier, texte, article, amendement, scrutin) identified by id, enumerating the five object types. Distinguishes itself from the search sibling implicitly since the id comes from rechercher_travaux_parlementaires.

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 description makes clear that the identifier comes from rechercher_travaux_parlementaires or from a prior read (related object, neighbor, part of a table of contents), which tells the agent when this tool is the right follow-up. It does not explicitly state when not to use it (e.g., no id yet), but the dependency on an id effectively implies the search-first workflow.

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