Skip to main content
Glama

italy-parliament-mcp-server

Search parliamentary votes

itparl_search_votes
Read-only

Find electronic votes from legislature 13 onward by chamber, date range, bill phase, vote kind, outcome, or member. A member filter includes their published position and counts across the full matching set. Use a returned vote key with itparl_get_vote for the complete published roster. Pages cap at 500 votes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "itparl_search_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoVote classification to match.any
limitNoMaximum items to return. The tool applies its published cap.
cursorNoContinue from next_cursor with the same filters.
chamberNoPublishing chamber or both chambers.both
date_toNoInclusive latest vote date, YYYY-MM-DD.
outcomeNoApproved, rejected, or an exact published outcome.
bill_keyNoCanonical bill phase key, such as 19:C.3189.
date_fromNoInclusive earliest vote date, YYYY-MM-DD.
member_idNoChamber-qualified member identifier, such as camera:301558.
legislatureNoRepublic or historical legislature. Defaults to the bill term or current legislature.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoMatching votes with the member position when requested.
noticesNoVote coverage and source notices.
sourcesNoOfficial contributing sources.
summaryNoDistinct votes per member position across the complete filter.
next_cursorNoContinuation cursor, or null on the final page.
limit_appliedNoEffective maximum number of results on this page.
legislature_appliedNoLegislature selected for this search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds real behavioral context beyond annotations: the 500-vote page cap, the fact that a member filter returns their published position and counts computed over the full matching set rather than just the page, and the search-then-fetch workflow. It does not discuss rate limits or the shape of next_cursor, but the output schema covers returns.

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?

Four tight sentences, front-loaded with the verb, scope, and filter list, then workflow, then the cap. No filler, no repetition of schema text, and each sentence carries distinct 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?

Given ten all-optional parameters, full schema descriptions, an output schema, and readOnlyHint, the description covers what an agent needs: scope floor, filter axes, the member-filter side effect, pagination cap, and the follow-up call. Only minor gaps remain, such as how cursor interacts with changed filters.

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 the baseline is 3; the description earns above baseline by disclosing the concrete 500-item page cap that the schema only alludes to as 'its published cap,' and by explaining that member_id changes the returned payload (position plus aggregate counts). The remaining filter names (chamber, date range, kind, outcome, bill phase) largely restate schema properties.

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 (find electronic votes), plus a scope boundary (legislature 13 onward) and the exact filter dimensions: chamber, date range, bill phase, vote kind, outcome, member. It explicitly contrasts with the sibling itparl_get_vote, so an agent can distinguish search from retrieval 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 a clear routing rule: this tool locates votes, then 'use a returned vote key with itparl_get_vote for the complete published roster' — that tells the agent exactly when to hand off to the sibling. It stops short of stating when-not-to-use conditions (e.g., when the vote key is already known, go straight to get_vote), so it is strong but not fully explicit.

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.