Skip to main content
Glama

italy-parliament-mcp-server

Get a parliamentary vote

itparl_get_vote
Read-only

Read one electronic roll call by key or official vote URL, including the published tally. Include the complete member roster by default, omit it, or filter by member or position. Dated group membership and group counts cover the returned roster. Group counts are included by default. Use itparl_search_votes to find vote keys.

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": {
      "key": "<key>"
    },
    "name": "itparl_get_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesCanonical vote key or official Camera or Senate RDF vote URL.
rosterNoSelect the complete published roster, omit it, or filter by member or position.all
group_breakdownNoInclude counts by parliamentary group on the vote date.

Output Schema

NameRequiredDescriptionDefault
keyNoChamber-qualified vote identifier.
billNoBill identified from a graph link or explicit vote text.
dateNoPublished vote date or Senate sitting date.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the source published the requested vote.
kindsNoClassifications supported by the vote record.
labelNoPublished vote label.
tallyNoAvailable published vote totals.
numberNoVote number within the sitting.
chamberNoItalian Parliament chamber.
noticesNoVote coverage and source notices.
outcomeNoNormalized approval or rejection, or the published outcome.
sittingNoSitting referenced by the vote.
sourcesNoOfficial contributing sources.
positionsNoReturned positions when the roster is requested.
kind_basisNoHow the publisher supports the vote classifications.
descriptionNoPublished vote description.
legislatureNoRepublic legislature number.
group_breakdownNoRoster counts by group, including any unassigned positions.
position_countsNoCounts across the returned roster.
presiding_memberNoPublished presiding member.

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 only declare readOnlyHint=true, and the description adds real behavioral detail beyond that: the tally is included, the full roster is the default, the roster can be omitted or filtered, and group counts are on by default. It does not discuss response size, rate limits, or errors for invalid keys, which keeps it below the top mark.

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?

Four short sentences, front-loaded with the core action and ending with the sibling routing pointer; nothing is padded. The roster-options sentence is somewhat dense but each clause maps to a real branch of the schema.

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?

An output schema exists, so return-value detail is not required, and the description covers key formats, roster behavior, and default group counts for a read-only three-parameter tool. Nothing an agent needs to call it correctly 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 all three parameters (including the roster anyOf variants and the group_breakdown default) are already documented in structured form. The description restates those defaults and adds only the nuance that dated group membership and counts describe the returned roster, which is marginal value over the schema.

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 ('Read one electronic roll call by key or official vote URL') and immediately names what is returned ('including the published tally'). The closing pointer to itparl_search_votes separates it cleanly from the sibling that locates votes, so an agent can choose between them 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?

Explicitly routes key discovery to itparl_search_votes and states the default roster and group-count behavior, which is clear context for invocation. It stops short of any when-not guidance (e.g. when to skip the roster for performance), so it is strong but not exhaustive.

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.