Skip to main content
Glama

brazil-parliament-mcp-server

Get Brazilian Member

brparl_get_member
Read-onlyIdempotent

Read a Brazilian deputy or senator by chamber and member ID, including former senators. Request optional history, committees, affiliations, leaves, professions, occupations, or external mandates as applicable. Find member IDs with brparl_search_members.

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

Input Schema

NameRequiredDescriptionDefault
idYesPositive decimal member identifier
chamberYesChamber that issued the member ID
sectionsNoExtra records to read. Committees and party history apply to both chambers. Leaves apply to Senado. History, professions, occupations, and external mandates apply to Câmara.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoWhether the chamber published a profile for this ID
memberNoParliamentary profile and selected supplemental records
noticeNoUnavailable supplementary section names when the core profile is available
sourcesNoOfficial endpoint URLs consulted
coverageNoAvailability of the selected chamber profile
guidanceNoHow to find the correct identifier when the profile is missing
attributionNoPublic bodies credited for the source records.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 genuinely useful behavior beyond them: former senators are retrievable, and sections are 'as applicable' rather than universally returned, which warns the agent that a section request may yield nothing. It does not describe failure behavior for a mismatched chamber/ID, which keeps it out of the top band.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two front-loaded sentences: the primary operation first, then optional sections, then the pointer to the search sibling. The middle sentence's enumeration of sections largely duplicates the schema enum, which is the only wasted space.

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, full annotation coverage, and 100% parameter documentation, the description only needs to orient the agent, and it does. A note on behavior when the ID does not exist or belongs to the other chamber would close the remaining gap.

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: the schema already explains the positive-decimal ID, the two-value chamber enum, and which sections apply to which chamber. The description's restatement of the section list adds little beyond that, though 'as applicable' reinforces the chamber-dependent availability.

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 ('Read a Brazilian deputy or senator'), the keying ('by chamber and member ID'), and an important scope note ('including former senators'). It also names the sibling brparl_search_members as the place to find IDs, so the agent can separate retrieval-by-ID from search 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?

The description makes the selection condition clear: use this when you already have a chamber + member ID, and use brparl_search_members to obtain IDs. It stops short of explicit when-not guidance (e.g., what to do for an unknown or foreign ID), but the routing to the sibling is unambiguous.

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.