Skip to main content
Glama

brazil-parliament-mcp-server

Search Brazilian Votes

brparl_search_votes
Read-onlyIdempotent

Find votes by date range, bill identifier, Câmara body, or participating senator. Symbolic approvals may appear only in bill history. Pass the returned chamber and ID to brparl_get_vote for the full published roll and leadership orientations.

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": "brparl_search_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNoBill citation such as PL 2338/2023 or PL2338/2023, or a camara: selector from bill search. Use a space after a type containing digits. Includes associated procedure votes.
bodyNoUse plenary for either chamber or a positive Câmara body ID from brparl_list_reference with topic=committees.
limitNoResults per page. Defaults to 25 and caps at 100.
offsetNoZero-based result offset.
chamberNoSearch Câmara, Senado, or both. Combined results list Câmara first.both
end_dateNoInclusive YYYY-MM-DD end. A date-only Senado window is at most one calendar year.
senator_idNoPositive Senado member ID from brparl_search_members. Matches published participation.
start_dateNoInclusive YYYY-MM-DD start. Pass end_date as well. Unscoped Câmara and Senado searches default to 30 days and 12 months, respectively.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoRecords in the requested result page.
limitNoApplied page size.
totalNoCombined matching record count, or null when unknown.
noticeNoEmpty-result guidance, page limit changes, or partial coverage caveats.
offsetNoZero-based offset applied to the page.
sourcesNoOfficial sources credited for this result.
coverageNoCounts and availability by chamber.
attributionNoPublic bodies credited for the source records.
next_offsetNoNext combined offset, or null when unavailable or exhausted.
continuationNoChamber-specific continuation when a combined offset is unavailable.
offset_basisNoChamber whose offsets apply when global alignment is unavailable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/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 value with the symbolic-approval coverage caveat and the two-step workflow into brparl_get_vote, but says nothing about pagination behavior, result ordering beyond the schema's chamber note, or volume limits.

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?

Two sentences, zero filler. The filtering scope is front-loaded and the follow-up tool reference comes second, matching the order an agent needs it.

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 and 100% parameter coverage, the description only needs to supply intent and the hand-off to brparl_get_vote, which it does. The one remaining gap is pagination/result-set expectations, which the description never touches.

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 per-parameter meaning is already fully documented, including defaults, caps and the Senado one-year window. The description only restates the filter dimensions at a high level and adds no syntax or format detail beyond 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 (Find) and resource (votes) and enumerates the filter dimensions: date range, bill identifier, Câmara body, participating senator. It is clearly distinguishable from brparl_get_vote, which the description frames as the full-roll lookup.

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 the agent onward: pass the returned chamber and ID to brparl_get_vote for the full published roll and leadership orientations, so search-vs-fetch is clear. It also warns that symbolic approvals may only surface in bill history, hinting at a coverage gap. No explicit statement of when not to use it, so not a 5.

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.