Skip to main content
Glama

Check & Vote: French and EU parliaments

List the reasons citizens give on a bill

list_bill_reasons
Read-onlyIdempotent

List the reasons that citizens of the application give to one opinion on a bill: 'stance' is FOR, AGAINST or ABSTENTION, and the reasons come most shared first, each with how many citizens share it. Anonymous: no author is ever returned. These are opinions of the application's users, neither an official source nor a representative poll: say so when you quote them.

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>",
      "stance": "<stance>"
    },
    "name": "list_bill_reasons"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of reasons (default 10).
billIdYesBill identifier, from search_texts or get_vote.
stanceYesThe opinion whose reasons are listed.

Output Schema

NameRequiredDescriptionDefault
stanceNoThe opinion the reasons belong to.
reasonsNoThe reasons, most shared first, then oldest first.
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.

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?

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive, closed world), and the description adds genuinely new behavior: results ordered most-shared-first, each reason carrying a share count, guaranteed anonymity (no author ever returned), and the epistemic caveat that these are user opinions, not official data or a poll. It stops short of describing pagination or empty-result behavior, which keeps it off a 5.

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 the verb and resource, then ordering, then anonymity, then the quoting caveat – each sentence adds distinct information. The stance enumeration partially duplicates the schema enum, which is the only redundancy.

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 three-parameter read tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what it returns, how it is ordered, anonymity guarantees, and the disclosure obligation when quoting. Nothing material is missing.

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?

Schema description coverage is 100%, so billId, stance, and limit are already documented, including where to obtain billId. The description adds interpretive meaning for stance (it selects one opinion's reasons) and for result ordering, but nothing about limit handling; baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource ('list the reasons ... on a bill') and narrows scope precisely to one stance (FOR/AGAINST/ABSTENTION), which no sibling tool covers. The agent can tell this apart from list_bill_amendments or get_bill without opening a schema.

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?

Usage is implied by the stance framing and the caveat that these are user opinions, which hints at when the data is appropriate to surface. However, it never states when to prefer this over siblings such as get_bill or get_vote, nor any exclusions or prerequisites beyond the billId source documented in the schema.

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