Skip to main content
Glama

brazil-parliament-mcp-server

Get Brazilian Bill

brparl_get_bill
Read-onlyIdempotent

Read recorded steps, authors, deliberation and disposition of a Brazilian bill across identifiable chamber stages. Pass identifier alone or a chamber and ID from brparl_search_bills. Set include_related to false to omit relationship lists while paging through history. For recorded roll calls, call brparl_search_votes with the bill identifier.

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_get_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoPositive decimal ID from brparl_search_bills. Pass chamber too.
chamberNoChamber for a chamber-specific bill ID.
identifierNoBill citation such as PL 2338/2023 or PL2338/2023, or an exact Câmara selector from bill search such as camara:2645231. Use a space after a type containing digits.
history_limitNoMaximum history steps per stage. Defaults to 10 and caps at 100.
history_offsetNoZero-based history offset to apply to each stage.
include_relatedNoInclude related and attached bill lists for each stage.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoWhether at least one stage was identified.
noticeNoApplied history limit if the requested limit was capped.
stagesNoIdentified bill stages with their independent history pages.
sourcesNoOfficial sources credited for this result.
coverageNoIdentity coverage and attempted numbers by chamber.
guidanceNoSuggested follow-up call.
has_moreNoWhether another history page is known for any stage, or null when only incomplete histories prevent a determination.
attributionNoPublic bodies credited for the source records.
initiating_chamberNoInitiating chamber, when published.
subsequent_dispositionNoPublished Senado outcome after a linked Câmara remittance.

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?

Annotations already cover the read-only, open-world, idempotent profile, so the description's job is to add operational context, which it does: pagination across stages and the default-included relationship lists that inflate responses. It does not mention truncation behavior when history is capped or whether identifier resolution can fail, leaving a modest gap.

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 what is read, followed by invocation modes, pagination advice, and the alternative for votes. There is no redundant restatement of the name or title, and nothing clearly superfluous.

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?

An output schema exists, so return-value detail is unnecessary, and the description covers inputs, pagination, and sibling routing for a six-parameter but zero-required tool. The main residual ambiguity is what happens if both identifier and id/chamber are supplied, which neither description nor schema resolves.

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 the baseline is 3 and the schema already documents patterns, defaults, caps, and the Câmara selector format. The description adds the mutual-exclusivity intent (identifier alone, or chamber plus ID) and the consequence of include_related=false, which is genuine meaning beyond the schema but limited.

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 (Read) and resource (Brazilian bill) plus the content returned: recorded steps, authors, deliberation, disposition, scoped to chamber stages. It is immediately distinguishable from brparl_search_bills (which supplies the ID) and brparl_search_votes (roll calls), so no schema inspection is needed to pick the right tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the two calling modes (identifier alone vs. chamber + ID obtained from brparl_search_bills) and explicitly routes roll-call lookups to brparl_search_votes. It also tells the agent to set include_related to false when paging through history, which is a concrete when-to-use rule rather than a vague hint.

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.