Skip to main content
Glama

Escaños de una circunscripción

consultar_circunscripcion
Read-onlyIdempotent

Proyección de escaños y voto válido por provincia, Ceuta o Melilla. También ofrece el resultado oficial del 23J de 2023 con su fuente en el BOE.

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": {
      "provincia": "<provincia>"
    },
    "name": "consultar_circunscripcion"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNo
fechaNoFecha en formato AAAA-MM-DD.
provinciaYesNombre o slug de la circunscripción, por ejemplo Madrid o gipuzkoa. Consulta listar_circunscripciones para ver los identificadores.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing provenance (official 23J result sourced from the BOE), but it says nothing about how the fecha parameter affects behavior, what happens when it is omitted, or what the response contains.

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?

Two tight sentences with the primary capability front-loaded and the secondary official-result mode appended. No filler, though the second sentence could have been used to clarify the tipo/fecha relationship instead of only stating provenance.

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?

For a three-parameter read-only lookup with no output schema, the definition covers what the tool returns at a high level and where the official data comes from. The main remaining gap is the unexplained interplay between tipo and fecha, which an agent would need in order to call it correctly in estimation mode.

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 67%: provincia and fecha carry descriptions, while tipo has only an enum with no explanation of what 'estimacion' versus 'resultado_2023' mean or how they interact with fecha. The description mentions both modes in prose but does not map them to the tipo values, so it adds only marginal meaning beyond the schema.

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 names a specific resource and output: seat projection and valid vote broken down by province, Ceuta or Melilla, plus the official 23J 2023 result. That is concrete enough to distinguish it from pure simulation tools, but it does not explicitly separate it from siblings like consultar_resultados_29n or consultar_estimacion, which appear to overlap with the two modes it advertises.

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 explicit when-to-use or when-not-to-use guidance. The phrase 'También ofrece el resultado oficial del 23J' hints that the tool covers two modes, but it never tells the agent to pick this over consultar_resultados_29n for official results or over consultar_estimacion for projections, nor does it state prerequisites such as needing a valid provincia identifier.

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.

Resources