Skip to main content
Glama

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

eleicoes_votos_por_horario

Read-onlyIdempotent

Votos computados por faixa de horário (Brasília) no 2º turno, contados nos logs de urna, por UF, por município ou com uf 'BR' para todas as UFs lado a lado. Informa quantas seções têm log no acervo em cada UF: a soma cobre só essas seções. Lista os logs de origem com SHA-256.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uf": "<uf>"
    },
    "name": "eleicoes_votos_por_horario"
  }
}

Input Schema

NameRequiredDescriptionDefault
deNo
ufYes
anoNo
ateNo
turnoNo
municipioNo
intervalo_minutosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description correctly focuses on substance: the counts are limited to sections whose logs exist in the archive, so totals are partial, and the response enumerates source logs with SHA-256 for verification. That coverage caveat is exactly the kind of non-obvious behavior an agent needs; the only gap is not stating whether turno=1 is actually supported.

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?

Three compact sentences, front-loaded with what is counted and at what grain, followed by the coverage caveat and output note. Dense with information and free of filler, though the 'turno' claim at the front is the one wasteful/incorrect clause.

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

Completeness2/5

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

For a 7-parameter, zero-coverage, output-schema-less tool, the description omits the date-range semantics (de/ate), the year parameter, and the permitted interval values, and it never describes the shape of the returned data beyond 'lists source logs with SHA-256'. The partial-coverage warning is a strong addition, but the parameter documentation gap is too large to call this complete.

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?

Schema description coverage is 0% across 7 parameters, so the description carries the full burden and largely fails: 'de', 'ate', 'ano' and 'intervalo_minutos' (which has a constrained set of 1/5/10/15/30/60) are never explained, and the allowed values are not even hinted at. It does explain the 'BR' sentinel for uf and the município option, but the '2º turno' phrasing actively misdirects on the turno enum.

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?

States a specific verb and resource: votes counted per time band (Brasília time) in the 2nd round, derived from ballot-box logs, aggregated by UF or município. The scope is unambiguous, but nothing in the text distinguishes it from adjacent siblings such as eleicoes_totais or eleicoes_timeline_divulgacao, which an agent could plausibly pick instead.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only routing guidance is the special value 'uf="BR"' to get all UFs side by side, which is useful but is a parameter trick rather than a when-to-use statement. There is no mention of when this tool is preferable to eleicoes_totais or eleicoes_timeline_divulgacao, and the text asserts '2º turno' even though the schema accepts turno=1, leaving the agent unsure which call is valid.

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.