Skip to main content
Glama
29N Elections MCP

29N Elections MCP

Get 29N results publication status

elecciones29n_get_status
Read-onlyIdempotent

Check the publication phase and data availability for Spain's 29N election results before answering, so you know whether turnout or vote-count data is ready to report.

Instructions

Use this tool FIRST for any question about Spain's general election of 29 November 2026
(29N): turnout, polling stations, votes, seats, winners, elected senators. It tells you what
the Ministerio del Interior has published so far. Never answer such questions from memory.

WHEN TO USE IT:
At the start of every conversation about 29N results, and again later to know whether new
data (a new turnout update, the start of the count, definitive results) is available.

INPUT PARAMETERS (What it receives):
None.

WHAT IT RETURNS:
- phase / phase_label: 0 constitution of polling stations, 1 voter turnout updates,
  2 vote count (scrutiny). Party votes and seats exist only in phase 2.
- turnout_update: turnout update announced by the website configuration (1 = 14:00,
  2 = 18:00). It is only indicative: it can lag behind the published data. The latest
  turnout to report is 'turnout.latest_published' of 'elecciones29n_get_scope_results'.
- active_data_source: 'pro' (provisional, election night) or 'def' (definitive).
- is_open, polling_active, polling_interval_seconds: publication state of the website.
- alert: official alert message in Spanish, if one is active. Relay it to the user.
- versions: data versions announced by the website.
- next_step: what to call next.
- source: attribution (official website, URL, phase, fetch time). Always cite it.

OPERATING NOTES:
- The figures change during election night: re-check the status before reporting a final result.
- Then use 'elecciones29n_search_scopes' to find the territory the user asks about.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
alertNoActive official alert message (Spanish), if any.
phaseYes0 constitution of polling stations, 1 turnout updates, 2 vote count.
sourceYes
is_openNoWhether the website is open to the public.
versionsYes
next_stepYes
phase_labelYes
polling_activeNoWhether the website is refreshing data live.
turnout_updateNoTurnout update announced by the configuration (numeroDeAvance). Indicative only: it can lag behind the published data; report 'turnout.latest_published' of elecciones29n_get_scope_results.
active_data_sourceYes'pro' provisional or 'def' definitive.
active_data_source_labelYes
polling_interval_secondsNo
scrutiny_records_availableNoWhether polling-station tally records are published.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent safety profile, but the description adds genuinely new behavioral context: data changes during election night and must be re-checked, turnout_update can lag behind published data, active_data_source distinguishes provisional from definitive, and an official Spanish alert must be relayed to the user. The 'Always cite it' attribution requirement is also non-obvious operational guidance.

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?

Well front-loaded: the first sentence establishes the tool's role before any detail, and the section headers (WHEN TO USE IT, INPUT PARAMETERS, WHAT IT RETURNS, OPERATING NOTES) make scanning easy. The return-field enumeration is long and partially overlaps the existing output schema, costing some tightness, but each bullet carries interpretive meaning (phase 0/1/2 semantics) rather than raw restatement.

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

Completeness5/5

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

For a zero-parameter status probe with an output schema, this is complete: it explains what each return field means in election terms, warns about staleness, and tells the agent exactly which sibling to call next. An agent has everything needed to call it at the right moment and interpret the response.

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

Parameters4/5

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

The tool takes zero parameters and the description says so explicitly ('INPUT PARAMETERS: None'), which matches the empty schema. With no parameters to disambiguate, there is no further semantic value to add; baseline 4 applies.

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?

States a specific verb and resource ('tells you what the Ministerio del Interior has published so far' for the 29N election) and enumerates the covered domains: turnout, polling stations, votes, seats, winners, elected senators. It is clearly distinguishable from siblings like elecciones29n_get_scope_results and elecciones29n_search_scopes, which are named as the follow-up steps.

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

Usage Guidelines5/5

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

Explicit 'Use this tool FIRST' directive plus a dedicated WHEN TO USE IT block ('at the start of every conversation about 29N results, and again later to know whether new data is available'). It also gives the routing rule to 'elecciones29n_search_scopes' for territory lookups and a hard prohibition on answering from memory.

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