Skip to main content
Glama

Simulador provincial

simular_provincia
Read-onlyIdempotent

Calcula el efecto de un número de votos adicionales para una candidatura en una circunscripción. Devuelve el enlace al escenario.

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>",
      "partido": "<partido>",
      "personas": "<personas>"
    },
    "name": "simular_provincia"
  }
}

Input Schema

NameRequiredDescriptionDefault
fechaNoFecha en formato AAAA-MM-DD.
partidoYes
personasYes
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

C2.7/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description usefully adds the return format ('devuelve el enlace al escenario'), which matters since there is no output schema, but it never clarifies whether the computed scenario is persisted or what the link points to.

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 short sentences with no filler; the purpose and the return value are front-loaded. The terseness is appropriate but it is achieved partly by omitting the information an agent actually needs.

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

Completeness2/5

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

For a four-parameter simulation tool with no output schema, an unexplained enum of opaque party IDs, and a unit mismatch between 'votos' and 'personas', the description does far too little. An agent cannot reliably populate partido or interpret the returned 'escenario' link from this text alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: fecha and provincia are documented, but the 55-plus enum values (list_3_0, list_10_4, etc.) are cryptic party identifiers the description never explains, and personas has no schema description at all. Worse, the description frames the input as 'votos adicionales' while the parameter is named 'personas' (people), leaving the unit genuinely ambiguous.

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 verb and resource: it calculates the effect of extra votes for a candidacy in a circumscripción and returns a scenario link. It is clear on its own, but it never distinguishes itself from siblings like simular_coaliciones or simular_escenario_29n, so an agent must infer which simulator applies.

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

Usage Guidelines1/5

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

The description gives no guidance on when to use this simulator versus the other simulation and consultation tools. The only routing hint ('Consulta listar_circunscripciones') lives in the schema's provincia field, not in the description, and per-candidacy scope is never contrasted with coalition or 29N scenarios.

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