Skip to main content
Glama

Resumo nacional de prefeito 2024

resumo_prefeitos
Read-only

Summarizes 2024 Brazilian mayoral election results with medians and percentages by electorate size, covering margins, spending, cost per vote, runoffs, and re-election.

Instructions

Medianas e percentuais do país e por faixa de eleitorado na eleição de prefeito de 2024: % do eleito, margem, disputas por menos de 5 pontos, candidato único, eleitos também em 2020 (piso), gasto e custo por voto do eleito, eleito que gastou mais que o segundo, peso do fundo eleitoral e cidades com 2º turno.

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": "resumo_prefeitos"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, so the description only needs to add context. It does add the metric inventory (which acts as a de-facto return contract since there is no output schema), but it discloses nothing about how figures are computed, which municipalities are excluded, or what the "faixa de eleitorado" bands are.

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?

A single dense sentence with no filler, front-loading the scope (national, by electorate band, 2024 mayor race) before the metric list. Nothing is wasted, though the list is terse to the point of ambiguity in places.

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

Completeness3/5

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

With no parameters and no output schema, the description must fully carry the return-value burden, and it only partly does: several metrics are opaque ("% do eleito" — percentage of what?), the aggregation unit (municipalities) is never stated, and the "piso" parenthetical is unexplained.

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?

The tool takes zero parameters, so the baseline of 4 applies; there is no parameter meaning the description needs to compensate for.

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?

The description clearly scopes the resource: national-level medians and percentages for the 2024 mayor election, broken down by electorate-size band, and enumerates the metrics produced. It never states a verb ("returns"/"computes") and does not distinguish itself from the sibling resumo_nacional, but an agent can still tell what data comes back.

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 guidance, no indication of when to prefer comparar_prefeitos or consultar_prefeito over this aggregate view, and no stated preconditions. Usage is only inferable from the metric list itself.

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