Skip to main content
Glama

Check & Vote: French and EU parliaments

Get a legislative bill

get_bill
Read-onlyIdempotent

Get one legislative bill (dossier législatif): its steps through Parliament, the roll-call votes held on it, its text versions (each with a 'textId' for get_text), its themes, authors and summaries. Use it after search_texts, or from a vote's 'billId'. Content is in French unless 'language' asks for another language of the Union and a translation exists (European bills).

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": {
      "billId": "<billId>"
    },
    "name": "get_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
billIdYesBill identifier: the 'id' of a BILL result of search_texts, or the 'billId' of a vote or of a text.
languageNoLanguage of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.

Output Schema

NameRequiredDescriptionDefault
idNoIdentifier.
stepsNoThe steps of the legislative procedure, in order.
textsNoThe versions of the text (filed, adopted, final...).
titleNoTitle.
votesNoRoll-call votes held on this bill.
authorNoFirst author.
statusNoProgress through the legislative process.
themesNoThemes.
relatedNoCalls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
typeLabelNoKind of bill, in the source's words (French).
assemblyUidNoIdentifier of the bill at the National Assembly, when it has one.
legislatureNoLegislature number.
longSummaryNoLong summary, when already available here. See also /bills/{id}/long-summary.
jurisdictionNoFR or EU.
shortSummaryNoShort summary.
cosignatoriesNoCo-signers of the filed text.
leadBodyLabelNoThe committee or body leading the bill (French).
procedureCodeNoCode of the legislative procedure.
lastActionDateNoDate of the last recorded action.
procedureLabelNoLabel of the legislative procedure (French).
contentLanguageNoISO 639-1 language of the textual content returned.
promulgationDateNoDate of promulgation, when promulgated.
longSummaryTextIdNoIdentifier of the text the long summary comes from.
acceleratedProcedureNoTrue when the accelerated procedure was engaged.
automaticTranslationNoTrue when title or summaries are machine translations.
explanatoryMemorandumNoExplanatory memorandum (exposé des motifs).
summarySourceLanguageNoISO 639-1 language the summary was written in.
acceleratedProcedureDateNoDate the accelerated procedure was engaged, when known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / Bill / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / $defs / RelatedCall
      Added value: +{
      +  "description": "A call that naturally follows the one that returned it.",
      +  "properties": {
      +    "description": {
      +      "description": "What this call returns.",
      +      "type": "string"
      +    },
      +    "href": {
      +      "description": "Path to call, identifiers filled.",
      +      "type": "string"
      +    },
      +    "operation": {
      +      "description": "operationId of the call, as in the OpenAPI.",
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "Name of the MCP tool that makes this call; null when no tool does.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.4/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, closed-world), so the bar is lower. The description adds genuinely non-obvious behavior: source content is in French by default, and other languages exist only for European bills when a translation is available — a real constraint an agent could otherwise trip over.

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?

Three sentences, front-loaded with the resource and its payload before the usage routing and the language caveat. Dense but each clause carries information; the enumerated return contents are slightly list-heavy but justified by the tool's breadth.

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?

For a two-parameter read tool with a full output schema and complete annotation coverage, the description supplies everything an agent needs: what is returned, where the id comes from, how to get the actual text, and the language/translation constraint.

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 3 is the baseline, but the description adds meaning on top: it explains where a valid billId comes from across multiple upstream sources and clarifies that 'language' requests a Union language only when a translation exists. The language fallback rule (default fr) is a semantic addition rather than a restatement.

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 ("Get one legislative bill") and then enumerates exactly what comes back: parliamentary steps, roll-call votes, text versions, themes, authors, summaries. It distinguishes itself from the sibling get_text by noting each text version carries a 'textId' for get_text, so an agent can tell the two apart without opening either 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?

Gives concrete entry paths — "Use it after search_texts, or from a vote's 'billId'" — which tells the agent which upstream tools feed it. It does not state explicit exclusions (e.g., that it should not be used when only a text body is wanted), but the get_text pointer in the same sentence implicitly handles that case.

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