Skip to main content
Glama

tse_comparecimento_abstencao

Retrieve official Brazilian voter turnout, abstention, eligible electorate, and polling section counts by country, state (UF), or municipality for electoral analysis.

Instructions

Fetch TSE EA20 voter turnout, abstention, eligible electorate, and polling section counts by Brazil, UF, or municipality.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tse_comparecimento_abstencao"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNo2-letter UF or 'br'br
cicloNoele2026
codigo_eleicaoNo6257
codigo_tse_municipioNoOptional 5-digit TSE municipality code (requires 2-letter UF != 'br')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read/aggregation but says nothing about permissions, rate limits, caching, what 'EA20' denotes, how the ciclo/codigo_eleicao defaults affect results, or what the response looks like — significant gaps for a data-retrieval tool.

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?

One front-loaded sentence listing verb, resources, and scope with no filler. It is dense but readable, and nothing is wasted, though it does not break out the geographic options into a more scannable structure.

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 4-parameter tool with no annotations and no output schema, the description leaves too much unexplained: the meaning of EA20, the cycle/election code defaults, units and aggregation level of counts, and the municipal-code dependency are all absent from both description and schema.

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?

Schema coverage is 50%; the description only reinforces the geography parameter (Brazil/UF/municipality), partially covering uf and codigo_tse_municipio. It adds no meaning for ciclo or codigo_eleicao, which the schema also leaves undescribed, so the coverage gap is only partly compensated.

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 ('Fetch') plus concrete resources (voter turnout, abstention, eligible electorate, polling section counts) and a scope selector (Brazil, UF, or municipality). It is distinguishable from the listed siblings, which cover candidates, parties, election catalogs, and municipality/zone lookups, though it never names them explicitly.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives. The phrase 'by Brazil, UF, or municipality' hints at the granularity choice implicitly, but no prerequisites, exclusions, or comparison with sibling tools are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.