Skip to main content
Glama

Eleições 2026: Dados Públicos do TSE

eleicoes_esquema

Read-onlyIdempotent

Tabelas e colunas públicas do banco SQL deste MCP (secoes, municipios, totais_municipio, candidatos, votos_por_minuto, fontes), com o significado de cada coluna, 5 consultas de exemplo e os arquivos do TSE de origem (sha256). Chame antes de eleicoes_consulta_sql.

Input Schema

NameRequiredDescriptionDefault
anoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds substantive context beyond that: the payload contains column semantics, worked example queries, and sha256 provenance of source files, which tells an agent why calling it first pays off.

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?

A single compact sentence that front-loads the resource and ends with the routing instruction. Dense and waste-free, though the parenthetical table list is heavy relative to the rest.

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 no output schema, the description does the work of describing the return payload (table/column meanings, example queries, source hashes). Only the unexplained 'ano' parameter leaves an unresolved question for an otherwise simple, annotation-covered read tool.

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

Parameters2/5

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

The single optional parameter 'ano' has 0% schema description coverage and is never mentioned in the description. An agent cannot tell whether it filters the returned schema metadata, selects a specific election year's dataset, or is ignored — this is the definition's clearest gap.

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?

States a specific resource (public tables and columns of the MCP's SQL database) and enumerates the tables by name (secoes, municipios, totais_municipio, candidatos, votos_por_minuto, fontes), plus what else is returned: column meanings, 5 example queries, and TSE source file hashes. This is clearly distinguishable from the query-execution siblings.

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?

Explicitly instructs 'Chame antes de eleicoes_consulta_sql', giving a clear prerequisite ordering against the main alternative. No mention of when NOT to use it (e.g., for coverage questions or printed-ballot checks), so it stops short of 5.

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.