Skip to main content
Glama

Dados Abertos Senado BR MCP

Agenda do plenário

senado_agenda_plenario
Read-onlyIdempotent

Obtém a agenda de sessões de plenário (Senado ou Congresso Nacional), por dia ou mês, com a pauta de matérias a votar. Retorna { data, escopo, count, sessoes }, onde cada sessão traz codigo, data, hora, tipo, situacao e pauta (matéria, ementa, autor, parecer). Use escopo dia/mes/cn; sem data assume hoje. Para o resultado já apreciado use senado_resultado_plenario; detalhes de uma sessão via senado_encontro_plenario.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData específica (YYYYMMDD; padrão: hoje)
escopoNodia = SF+CN no dia; mes = mês inteiro; cn = plenário do Congressodia
dataFimNoData fim para período do CN (YYYYMMDD; apenas escopo=cn)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare this as a safe read-only, idempotent operation, and the description adds the concrete return contract (`{ data, escopo, count, sessoes }`), the per-session fields, and the default-date/scope behavior. It goes well beyond the annotations without contradicting them, though it does not discuss pagination or error behavior, which are not critical here.

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 compact sentences cover purpose, return shape, scope usage, and sibling routing without repeating annotation or schema fields. The most important selection guidance is placed at the end but is still direct and economical.

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 the rich output schema, fully documented parameters, and read-only annotations, the description supplies everything needed to select and call the tool correctly. It covers default behavior, scope options, return structure, and the two relevant sibling alternatives.

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?

The input schema already documents all three parameters at 100% coverage, including defaults, patterns, and enum meanings. The description only reinforces the `escopo` usage and the default `data` behavior rather than adding substantive new parameter-level semantics, so the schema-heavy baseline of 3 is appropriate.

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?

Opens with the verb 'Obtém' and identifies the exact resource: agenda de sessões de plenário, with variants for Senado and Congresso Nacional. It also names the scope dimensions (dia/mês) and the pauta contents, and the closing sentences distinguish it from the closest plenary siblings.

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 instructs which `escopo` values to use and states the default behavior when `data` is omitted. It also names concrete alternatives—`senado_resultado_plenario` for already-appreciated results and `senado_encontro_plenario` for session details—so an agent can route between siblings without ambiguity.

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.

TDQS

A4.1/5.0
Disambiguation2/5

Several tools perform overlapping functions (e.g., senado_buscar_materias vs senado_search_processos, senado_contratos vs senado_contratacoes_lista, and three e-cidadania consultation tools). Although descriptions are detailed, an agent can easily select the wrong one without deep inspection.

Naming Consistency3/5

All tools share the 'senado_' prefix, but the pattern is inconsistent: some use Portuguese verbs (buscar, listar, obter), others English 'search', and some are bare nouns (senado_ceaps, senado_mesa, senado_vetos). This mixed convention reduces predictability.

Tool Count2/5

67 tools is far above the 25 threshold, indicating an overgrown surface. While each tool may serve a niche endpoint, the sheer number makes it difficult for an agent to choose efficiently, and many tools could be consolidated.

Completeness4/5

The toolset covers nearly every aspect of Senate open data (legislative, senatorial, committee, administrative, financial, e-cidadania) with list/detail/searches. Minor gaps exist, such as no direct consolidated contract search, but most workflows can be achieved.