Skip to main content
Glama
SidneyBissoli

Senado BR — Brazilian Federal Senate Open Data

senado_ceaps

Read-only

Query Brazilian senators' CEAPS expenses by year, with aggregation by senator, type, month, or vendor, or detailed records. Filter by month, senator code/name, expense type, or vendor.

Instructions

Despesas da Cota para Exercício da Atividade Parlamentar (CEAPS) dos senadores em um ano. Retorna { ano, modo, totalDespesas, valorTotal, ... }: nos modos agregados (por-senador/por-tipo/por-mes/por-fornecedor, padrão por-senador) traz agregado[] ordenado por total desc com chave, total e despesas (contagem); em modo='detalhe' traz despesas[] (mês, data, senador, tipoDespesa, fornecedor, cnpjCpf, valor). Filtre por mes, codSenador, nomeSenador, tipoDespesa ou fornecedor (busca parcial); limite cap 100 com aviso ao truncar. Obtenha codSenador via senado_listar_senadores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anoYesAno das despesas
modoNoAgregação ou detalhe (padrão: por-senador)por-senador
mesNoFiltrar por mês
codSenadorNoFiltrar por código do senador
nomeSenadorNoFiltrar por nome do senador (busca parcial)
tipoDespesaNoFiltrar por tipo de despesa (busca parcial)
fornecedorNoFiltrar por fornecedor (busca parcial)
limiteNoMáximo de linhas no resultado (padrão: 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations provide readOnlyHint and openWorldHint. Description adds detailed behavioral context: output structure for each mode, pagination with limite cap 100 and aviso on truncation, and partial search behavior. No contradictions.

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?

Description is moderately long but well-structured. Front-loaded purpose, then output, then filters, then pagination. Each sentence adds value. Could be slightly tighter but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters, multiple modes, and output structure, the description covers all essentials: modes, filters, pagination, and cross-reference to another tool. No gaps for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% but description adds meaning: explains that filters like nomeSenador, tipoDespesa, fornecedor use partial search, and describes the mode parameter with default value. This goes beyond schema 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?

Description clearly states it retrieves CEAPS expenses for senators in a given year. It specifies verb 'Retorna' and resource 'Despesas... CEAPS'. While it mentions sister tool for codSenador, it doesn't explicitly differentiate from all siblings, but overall purpose is unambiguous.

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?

Description explains when to use each mode ('agregados' vs 'detalhe') and how to filter by various fields. It advises using senado_listar_senadores to obtain codSenador. No explicit exclusions, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SidneyBissoli/senado-br-mcp-cloudflare'

If you have feedback or need assistance with the MCP directory API, please join our Discord server