Skip to main content
Glama

Lampions — scrutins publics français

Lire un scrutin parlementaire

lire_scrutin

Rend le décompte officiel d'un scrutin de l'Assemblée nationale, du Sénat ou du Parlement européen à partir de son identifiant officiel (ex. VTANR5L17V8430) : intitulé du texte, question posée en langue courante, pour/contre/abstentions, sort du vote, jeu de données d'origine et licence. Aucune donnée personnelle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesIdentifiant officiel du scrutin, tel que publié par la chambre. Les identifiants sont énumérés dans les sitemaps /sitemaps/scrutins-{n}.xml.

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?

With no annotations, the description carries the transparency burden. It candidly enumerates what is returned (title, question, vote counts, outcome, source dataset, license) and adds a privacy guarantee ('Aucune donnée personnelle'). The verb 'Rend' signals a read-only operation, so the safety profile is adequately conveyed, though error behavior for invalid IDs is not discussed.

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?

The description is a single, well-structured sentence that leads with the core action and resource, then appends the input condition, a colon-introduced list of outputs, and a privacy note. Every clause contributes new information without repeating the schema.

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?

For a one-parameter lookup with no output schema, the description provides the input source, an example, and a comprehensive list of returned fields, which is sufficient for an agent to call it correctly. The only missing element is behavior on unrecognized identifiers, which is a minor gap for such a simple tool.

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?

The input schema already fully documents the `uid` parameter, including its nature and where identifiers are published. The description adds a concrete example (VTANR5L17V8430), but since schema coverage is 100%, this is a minor extra rather than a necessary compensation.

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 uses a specific verb ('Rend le décompte officiel') and identifies the exact resource, a parliamentary vote from three chambers, plus the single required input (official identifier). The listed output fields and the 'à partir de son identifiant officiel' wording make this look-up tool implicitly distinct from the sibling listing tool 'derniers_scrutins'.

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?

The usage is implied: an agent should call this when it has an official vote identifier, as stated in 'à partir de son identifiant officiel'. There is no explicit mention of when not to use it or any comparison with 'derniers_scrutins', so the routing logic between the two tools is left to inference.

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