Skip to main content
Glama

Resultados electorales (Corte Electoral)

resultados_electorales
Read-onlyIdempotent

Retrieve Uruguayan election results by election and optional department, including turnout, party votes, candidate or plebiscite options, and observed ballots.

Instructions

Resultados de una elección uruguaya, del país o de un departamento: habilitados, emitidos, participación, votos por partido (nacionales y departamentales) y por opción (candidatos del balotaje, plebiscitos). Sale de los datos por mesa de la Corte Electoral e incluye los votos observados, que se escrutan en mesas especiales sin localidad. Los porcentajes son sobre los votos emitidos.

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": {
      "eleccion": "<eleccion>"
    },
    "name": "resultados_electorales"
  }
}

Input Schema

NameRequiredDescriptionDefault
eleccionYes
departamentoNo

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
mesasYes
bajadoYes
fuenteYes
anuladosYes
eleccionYes
emitidosYes
opcionesYes
partidosYes
en_blancoYes
habilitadosYes
departamentoYes
copia_vencidaNo
participacion_pctYes
observados_escrutadosYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: the data is derived from per-mesa Corte Electoral records, includes votos observados scrutined in special tables without locality, and percentages are computed over votos emitidos — methodological facts that affect how an agent should interpret the output.

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?

Four sentences, front-loaded with what the tool returns, then the data provenance, then the percentage convention. Dense but every clause carries information; no filler or repetition of the title.

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?

An output schema exists, so return structure need not be described, and the annotations cover safety. What remains is the methodological framing (source, observed votes, percentage base), which is supplied. The only real omission is guidance on when `departamento` applies, which matters for correct enumeration of the two parameters.

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 description coverage is 0%, so the description must carry the parameter load. "Del país o de un departamento" hints at the filtering role of `departamento`, and the mention of nacionales/balotaje/plebiscitos loosely maps to the `eleccion` enum, but neither parameter is explicitly explained nor are the enum values named.

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?

Opens with a specific resource and scope ("Resultados de una elección uruguaya, del país o de un departamento") and then enumerates the exact contents: habilitados, emitidos, participación, votos por partido (nacionales y departamentales) y por opción. An agent immediately knows this is an electoral-results retrieval tool, and no sibling in the catalog overlaps with that resource.

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

Usage Guidelines3/5

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

Usage is only implied by the subject matter; there is no explicit "use this when..." statement or any mention of alternatives. Critically, the description never says how the optional `departamento` interacts with the election types (e.g. whether it is meaningful for balotaje or nacionales), which is exactly the decision an agent must make before calling.

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