Skip to main content
Glama

Resumo nacional de vereador 2024

resumo_nacional
Read-only

Retrieves national totals and medians by electorate range for 2024 city council elections, including electoral quotient, last-elected votes, campaign spending, cost per vote, and win odds.

Instructions

Totais do país e medianas por faixa de eleitorado: quociente, votação do último eleito, gasto de campanha de eleitos e não eleitos, custo por voto, origem do dinheiro e chance de eleição por quarto de gasto.

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_nacional"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe read, so the description's main contribution is disclosing the computed output content (aggregated totals and medians by band). It does not describe the shape of the result, units, rounding, or whether the aggregation is precomputed versus derived on demand.

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 tight sentence with the scope ('Totais do país e medianas por faixa de eleitorado') front-loaded ahead of the metric list, and no filler. The metric enumeration is dense, with terms like 'quociente' left unexplained for readers unfamiliar with Brazilian electoral jargon.

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 zero parameters and no output schema, the description must carry the entire return-value burden, and it does list the metrics but not how they are organized (presumably one row per electorate band), units, or coverage limits. Adequate for an agent to decide to call it, but thin for interpreting what comes back.

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 schema carries no semantics to supplement and the description correctly spends no words on arguments. The only minor gap is that it does not explicitly confirm the tool needs no input and always returns the same national cut.

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 concrete resource and scope: national totals plus medians broken out by electorate band, enumerating the exact metrics (quociente, votação do último eleito, gasto de campanha, custo por voto, origem do dinheiro, chance de eleição por quarto de gasto). The word 'nacional' in name/title plus 'Totais do país' implicitly contrasts with the municipality-oriented siblings, but the description itself never names an alternative.

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 statement, no mention of prerequisites, and no alternative named. An agent must infer from the metrics list alone that this tool is for a nationwide overview rather than a per-city lookup.

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