Skip to main content
Glama

Check & Vote: French and EU parliaments

The text a vote relates to

get_vote_text_context
Read-onlyIdempotent

Get the bill, the text and the summaries of what a vote was about. Use it to explain a vote in plain words after get_vote. When the text voted on has no summary, 'nearbySummary' holds the summary of another version of the bill: say it is not the text voted on. Says so in a 'message' when the vote is not attached to a text.

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": {
      "voteId": "<voteId>"
    },
    "name": "get_vote_text_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
voteIdYesVote identifier, from list_votes or get_vote.

Output Schema

NameRequiredDescriptionDefault
billIdNoIdentifier of the bill.
numberNoNumber.
pdfUrlNoURL of the PDF at the source.
textIdNoIdentifier of the text.
sourceUrlNoURL of the source.
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
typeLabelNoKind of text (French).
filingDateNoFiling date.
longSummaryNoLong summary.
pdfAvailableNoTrue when a PDF is held for the text.
shortSummaryNoShort summary.
nearbySummaryNoAI summary of another version of the same bill, present only when the version described here has no AI summary. It is not the text that was voted on: name it as such. Null otherwise.
contentAvailableNoTrue when the full text is readable (see /texts/{id}).
explanatoryMemorandumNoExplanatory memorandum.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed read, so the description's job is to add semantic caveats — and it does: the 'nearbySummary' field is the summary of another bill version, not the text voted on, and a 'message' field appears when the vote has no attached text. That is real behavioral disclosure beyond the annotations, though it stops short of describing the full response shape or any coverage limits.

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 is returned, then usage, then the two output caveats — a sensible order with no filler. The phrasing is slightly clipped ('Says so in a "message"'), but every sentence carries information.

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?

An output schema exists, so return values needn't be enumerated, and the description instead covers the two non-obvious output semantics an agent would otherwise misreport. The only gap is that it does not say how the bill, text, and summaries relate to one another or what happens when a vote maps to multiple texts.

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?

There is a single parameter with 100% schema description coverage, including its provenance ('from list_votes or get_vote'), so the schema already does the work. The description adds no further parameter meaning; baseline 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 specific resources: it returns the bill, the text, and the summaries behind a vote. The phrase 'of what a vote was about' plus the explicit 'after get_vote' hook makes it distinguishable from get_vote and from get_text without opening the 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 a clear usage context ('use it to explain a vote in plain words after get_vote'), naming the sibling it complements. It doesn't state when not to use it, e.g. when the caller only needs raw text (get_text) or the vote record itself (get_vote).

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