Skip to main content
Glama
SidneyBissoli

Senado BR — Brazilian Federal Senate Open Data

senado_tabelas_referencia

Read-onlyIdempotent

Query reference tables from the Brazilian Federal Senate to obtain valid codes for proposition types, political parties, states, legislature details, norms, and speech usage types.

Instructions

Consulta tabelas de referência do Senado pelo parâmetro tabela. Valores: tipos-materia{ count, tipos } (sigla/nome/descricao dos tipos de proposição, p.ex. PEC, PL, MPV) — use para achar a sigla correta antes de senado_buscar_materias/senado_search_processos; partidos{ count, totalSenadores, partidos } (partidos com bancada atual, ordenados por nº de senadores); ufs{ count, totalSenadores, ufs } (as 27 UFs com a contagem de senadores em exercício); legislatura-atual{ numero, periodo, dataInicio, dataFim } da legislatura vigente; tipos-norma{ count, tipos } (sigla/descricao dos tipos de norma para senado_buscar_legislacao); tipos-uso-palavra{ count, tipos } (codigo/descricao para interpretar tipoUsoPalavra em senado_discursos_senador). Toda resposta inclui o campo tabela. Para a relação nominal de parlamentares use senado_listar_senadores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabelaYesQual tabela de referência consultar: tipos-materia, partidos, ufs, legislatura-atual, tipos-norma ou tipos-uso-palavra

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, etc. Description adds details about return structures (e.g., 'count, tipos', 'totalSenadores, partidos') and the constant 'tabela' field, providing context beyond annotations.

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-organized with bullet-like structure using semicolons. Front-loaded with main verb. No redundant phrases, though it packs many details into a single paragraph.

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?

For a simple 1-parameter tool, description covers purpose, all parameter values, return structures, connections to other tools, and edge cases (e.g., 'Toda resposta inclui o campo tabela'). Highly complete.

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% with enum and description. The description adds detailed meaning for each enum value, including return shapes and usage context, which enhances understanding 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?

Description clearly states 'Consulta tabelas de referência do Senado pelo parâmetro tabela', enumerates all possible values and their output structures. It distinguishes from sibling tools like senado_listar_senadores for parliamentarian lists.

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?

Explicitly says when to use: to find correct sigla before senado_buscar_materias/senado_search_processos, and to interpret tipoUsoPalavra in senado_discursos_senador. Also directs to senado_listar_senadores for nominal list.

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