Skip to main content
Glama

brazil-parliament-mcp-server

Search Brazilian Members

brparl_search_members
Read-onlyIdempotent

Find Brazilian deputies and senators by Portuguese parliamentary name, party, state, sex, or legislature. Request in_office for members currently in exercise. Use a returned chamber and ID with brparl_get_member.

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

Input Schema

NameRequiredDescriptionDefault
sexNoPublished sex code
nameNoSubstring of the Portuguese parliamentary name
limitNoResults per page. Defaults to 25 and caps at 100.
partyNoParty abbreviation
stateNoBrazilian state or Federal District abbreviation, such as SP or DF.
offsetNoZero-based result offset.
chamberNoChamber to search. Both lists Câmara before Senado.both
in_officeNoLimit results to members currently in exercise
legislatureNoLegislature number. Defaults to the current Brasília-date legislature.

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.
noticeNoGuidance for empty, partial, or clamped results and caveats about historical party affiliations
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 readOnlyHint, idempotentHint and openWorldHint, so safety and repeatability are covered. The description adds the workflow chaining detail (chamber+ID feeds brparl_get_member), which is genuinely useful, but says nothing about result volume, pagination, or how mixed-chamber results are ordered beyond what the schema states.

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, front-loaded with purpose, then the in_office hint, then the handoff to brparl_get_member. No filler and no restatement of the tool name.

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 a full output schema and complete parameter documentation, the description only needs to convey purpose and workflow, and it does both, including the downstream tool. The only gap is that it does not note pagination behaviour or result caps for broad queries, which matters for a 9-parameter search.

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%, including the defaults for limit, offset, chamber and legislature, so the schema carries the parameter burden. The description restates the filter set (name, party, state, sex, legislature) and flags in_office but 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.

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 Brazilian deputies and senators") and enumerates the searchable dimensions, which cleanly separates it from siblings like brparl_search_bills or brparl_search_speeches. An agent knows immediately this is the people-lookup tool.

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 an actionable hint ("Request in_office for members currently in exercise") and an explicit follow-up path ("Use a returned chamber and ID with brparl_get_member"). It lacks explicit when-not guidance, e.g. that this is not the tool for bill or vote lookups, but the resource framing makes misuse unlikely.

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.