Skip to main content
Glama

brazil-parliament-mcp-server

Search Brazilian Speeches

brparl_search_speeches
Read-onlyIdempotent

Read Portuguese speeches by a deputy or senator, or read all Senado plenary speeches within one month. Search the specified window with contains. Request include_text for complete verbatim transcripts.

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>"
    },
    "name": "brparl_search_speeches"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoSpeeches per page. Defaults to 10 and caps at 50.
offsetNoZero-based result offset.
chamberYesChamber publishing the speeches.
containsNoLiteral Portuguese text to find in the selected speech window, ignoring case and accents.
end_dateNoInclusive YYYY-MM-DD end. Provide both dates for an explicit window.
member_idNoMember ID from brparl_search_members. Required for Câmara.
start_dateNoInclusive YYYY-MM-DD start. Member windows may span one year and default to the past seven days in Câmara or 30 days in Senado. Senate-wide plenary searches require both dates within one month.
include_textNoInclude the complete available transcript for each selected speech.

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.
noticeNoPublication lag, incomplete transcript coverage or paging guidance.
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
Behavior4/5

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

Annotations already declare read-only, idempotent, and open-world behavior, so the description does not need to repeat safety properties. It adds useful context by specifying Portuguese-language content, the window-based search behavior, and that include_text returns complete verbatim transcripts.

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?

Three front-loaded sentences with no wasted wording. The primary mode is stated first, followed by targeted notes on contains and include_text.

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 and full parameter descriptions, the description need not explain return values or every field. It adequately covers the two search modes and the key behavioral flags, though it could note the chamber requirement or pagination defaults more explicitly.

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 schema already documents all six parameters in detail. The description reinforces how contains works within the specified window and what include_text produces, but adds little beyond the schema's own descriptions.

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?

The description states a specific verb and resource ('Read Portuguese speeches') and distinguishes two query modes: by a deputy/senator or all Senado plenary speeches within one month. This clearly separates it from siblings like brparl_search_bills or brparl_search_votes, though it does not explicitly name those alternatives.

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?

It gives clear context for the two intended usage patterns and the one-month window constraint for Senate-wide plenary searches. It lacks explicit when-not guidance or named alternatives, but the resource-specific scope makes the appropriate use evident.

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.