Skip to main content
Glama

Balance del modelo frente al recuento

consultar_balance_29n
Read-onlyIdempotent

Compara los escaños del último corte archivado de Pulso con el recuento del 29N. Filtra por circunscripción y devuelve las fuentes cuando el balance esté disponible.

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

Input Schema

NameRequiredDescriptionDefault
provinciaNoNombre 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, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds real value beyond them by disclosing that the comparison uses the latest *archived* Pulso snapshot and that sources are only returned when the balance is available. It stops short of explaining what is returned when the balance is not available (empty result vs. error).

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 tightly written sentences with the core comparison front-loaded and the filter/output caveat following. No filler, though 'el balance' is reused without ever being defined as an output shape.

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?

For a one-optional-parameter read-only tool with rich annotations, the description covers what is compared and how to filter. With no output schema, however, it leaves the shape of the 'balance' (seat deltas? per-constituency totals?) and the non-available case unexplained.

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 100% and the single optional parameter already documents accepted formats (name or slug), an example, and a pointer to listar_circunscripciones. The description only restates that filtering is by circunscripción, adding no format or default-behavior detail 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 states a concrete comparison (seats in the latest archived Pulso cut vs. the 29N recount), not a restatement of the name. It is clear what data the tool produces, though it does not explicitly name how it differs from siblings like consultar_resultados_29n or consultar_estimacion.

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 relative to the several similar 29N tools in the catalog. The only contextual hint is 'cuando el balance esté disponible', which describes output availability rather than tool selection.

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