Skip to main content
Glama

brazil-parliament-mcp-server

Get Brazilian Vote

brparl_get_vote
Read-onlyIdempotent

Read one vote by its chamber-specific ID. Filter members by party, state, or position and follow next_offset with the same filters to page the published rows. Tallies cover the full published roll. Secret votes can show attendance and aggregate totals.

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": {
      "chamber": "<chamber>",
      "id": "<id>"
    },
    "name": "brparl_get_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCâmara item-sequence or Senado session/session-vote ID from brparl_search_votes.
limitNoMember rows per page. Defaults to 25 and caps at 513.
partyNoParty abbreviation recorded at the vote.
stateNoState abbreviation recorded at the vote.
offsetNoZero-based offset within the filtered member rows.
chamberYesChamber that issued the vote ID.
positionNoNormalized member vote or attendance classification.

Output Schema

NameRequiredDescriptionDefault
voteNoVote and its available roll details.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the exact vote was found.
noticeNoPage limits, publication limitations, unavailable sections, or unrecognized vote codes.
sourcesNoOfficial sources for the lookup and detail sections.
coverageNoLookup coverage for the selected chamber.
guidanceNoHow to find the correct ID when the vote is absent.
attributionNoPublic bodies credited for the source records.
next_offsetNoNext offset with the same member filters, or null when exhausted. Present only for a published member section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. The description adds real behavior beyond that: tallies reflect the full published roll rather than the filtered subset, and secret votes expose only attendance and aggregate totals — a meaningful edge case an agent would otherwise misread.

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 short sentences, front-loaded with the primary action, then paging, then result semantics. Every sentence carries distinct information and nothing is repeated from the schema.

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?

With an output schema present, return values need no explanation, and the description still covers the non-obvious cases (full-roll tallies, secret-vote limitations). It is complete enough to call correctly, missing only an explicit pointer to the sibling search tool that produces the ID.

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 coverage is 100%, so the baseline is 3. The description does add one useful clarification — that party/state/position filter member rows, not the tallies — and links the output's next_offset to the offset parameter, but it adds no format or syntax detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Read one vote by its chamber-specific ID" gives a specific verb, resource, and scope, which separates it from a vote search tool. It stops short of naming brparl_search_votes as the alternative, so the differentiation is implicit rather than explicit.

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?

It gives concrete paging guidance (follow next_offset with the same filters) and notes that filters narrow member rows. It never states when to call this versus brparl_search_votes, so an agent must infer that this tool requires an ID already obtained elsewhere.

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.