Skip to main content
Glama

Dados Abertos Senado BR MCP

Tabelas de gestão de pessoas

senado_pessoal_tabelas
Read-onlyIdempotent

Tabelas de pessoal do Senado conforme o parâmetro tabela. Quantitativos agregados: pessoal (força de trabalho por classe/escolaridade), cargos-funcoes (cargos em comissão e funções de confiança), previsao-aposentadoria, senadores. Listas nominais: estagiarios (ativos), pensionistas, lotacoes (setores), cargos (nomes de cargos). Retorna { tabela, count, total, aviso?, registros[] } — registros agregados (nos quantitativos) ou nominais (nas listas), conforme a tabela, limitados por limite (padrão 100, máx 2000); count 0 e lista vazia quando a tabela não tem registros. O filtro textual opcional casa contra qualquer campo do registro. Para o cadastro nominal de servidores efetivos/comissionados use senado_servidores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtroNoFiltro textual (nome, curso, setor...)
limiteNoMáximo de registros (padrão: 100)
tabelaYesQual tabela de pessoal consultar (quantitativo agregado ou lista nominal)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  4. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint, idempotentHint, destructiveHint, openWorldHint), so the bar is lower. The description still adds real behavioral context beyond what annotations provide: it discloses the return envelope `{ tabela, count, total, aviso?, registros[] }`, the default and maximum limit (100/2000), empty-list behavior when a table has no records, and that aggregated vs. nominal records depend on the table. It does not detail pagination beyond `limite` or the meaning of `aviso`, minor gaps.

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?

Front-loaded with the core purpose, then efficiently organized into verb+resource, enum enumeration, return shape, and sibling routing. It is fairly dense with three clauses packed per sentence in places, but every sentence carries information an agent needs. Slight density costs a point versus a crisper version.

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?

Given 3 parameters, an enum, an output schema, and rich annotations, the description covers purpose, enum semantics, return shape, limit behavior, filter behavior, and sibling routing. It is essentially complete; the only omissions are the semantics of the `aviso` field and explicit pagination guidance, both minor against an existing output schema.

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 description coverage is 100%, so baseline is 3. The description adds value beyond the schema: it explains what each `tabela` enum actually returns (aggregated quantitative vs. nominal list, with per-value examples), which is far richer than the schema's one-line enum description. It also restates `limite` behavior (default 100, max 2000) and clarifies `filtro` matches any field of the record — a small but genuine addition to the schema's example list.

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?

The description states exactly what the tool does — returns Senate personnel tables according to the `tabela` parameter — and explicitly enumerates all eight enum values with parenthetical explanations (e.g., `pessoal` = workforce by class/education). It also names the sibling `senado_servidores` for nominal staff records, clearly distinguishing this tool from that alternative.

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?

It explicitly routes the agent: use this tool for personnel tables driven by the `tabela` parameter, and use `senado_servidores` for the nominal register of permanent/commissioned servers. The enumerated `tabela` values tell the agent which value to pick for each data need, so both when-to-use and the alternative are given.

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.