Skip to main content
Glama

Simulador de coaliciones

simular_coaliciones
Read-onlyIdempotent

Calcula el reparto de 350 escaños al unir una o varias listas. Los votos de partida permanecen constantes.

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": {
      "coaliciones": "<coaliciones>"
    },
    "name": "simular_coaliciones"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds one genuine modeling trait, that starting votes stay constant (no vote migration), which matters for interpreting results, but says nothing about failure cases or how the province/date scope affects the calculation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the operation and followed by the key assumption; every clause carries information and there is no padding.

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?

There is no output schema, yet the description does not say what the result looks like (per-coalition seat totals, comparison vs individual lists). Combined with the unexplained nested-array parameter, it is only minimally sufficient for a simulation tool with three parameters.

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 67% and the description adds almost nothing: it never explains the nested array encoding of 'coaliciones' (each inner array = one coalition of at least two lists) nor the role of fecha and provincia. The structural constraints exist in the schema, but the semantic meaning of the parameter shape is left for the agent to reverse-engineer.

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 specific verb and resource: it computes the allocation of 350 seats when joining one or more lists. An agent knows it is a coalition seat-calculation tool, though it does not explicitly distinguish itself from siblings like simular_escenario_29n or simular_provincia.

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: 'al unir una o varias listas' plus the fixed-baseline note hints at coalition math with no vote transfer/swing, but there is no explicit when-to-use, when-not, or named alternative. The agent must infer that this differs from the scenario-simulation siblings.

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