{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "electionindex.org",
    "site": "electionindex.org",
    "addresses": [
      {
        "address": "172.67.177.99",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.176.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.51.79",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::6815:334f",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:b163",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.177.99",
          "104.21.51.79",
          "2606:4700:3030::6815:334f",
          "2606:4700:3030::ac43:b163"
        ],
        "first_seen": "2026-11-22T22:27:02.928Z",
        "last_seen": "2026-11-22T22:27:02.928Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.51.79",
          "172.67.177.99",
          "2606:4700:3030::ac43:b163",
          "2606:4700:3030::6815:334f"
        ],
        "first_seen": "2026-11-21T19:07:01.343Z",
        "last_seen": "2026-11-21T19:07:01.343Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "electionindex",
      "version": "2026-11-10.3176c6df",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "org.electionindex",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "45196",
    "server_name": "org.electionindex/elections",
    "url": "https://electionindex.org/mcp",
    "host": "electionindex.org",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T22:27:02.928Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "f2d6a316de95855338c207e33645a9d5c65ca5f9a44f4d93b3b2267852ad6c63",
    "first_listed_at": "2026-11-21T19:07:01.343Z",
    "created_at": "2026-11-21T13:10:02.855Z",
    "resolved_addresses": [
      "172.67.177.99",
      "104.21.51.79",
      "2606:4700:3030::6815:334f",
      "2606:4700:3030::ac43:b163"
    ]
  },
  "server": {
    "name": "org.electionindex/elections",
    "title": "Election Index",
    "description": "Neutral, sourced election calendar: polling days, when provisional and final results are due.",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://electionindex.org/docs",
    "published_at": "2026-09-27T09:06:34.590Z",
    "updated_at": "2026-09-27T09:06:34.590Z",
    "first_seen": "2026-11-21T13:10:02.068Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:49:09.415Z"
  },
  "operator": {
    "key": "electionindex.org",
    "name": "electionindex.org",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 367,
    "first_check_in_window": "2026-11-21T19:07:01.343Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "f2d6a316de95855338c207e33645a9d5c65ca5f9a44f4d93b3b2267852ad6c63",
    "tools": 10,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T19:07:01.639Z",
    "tool_names": [
      "next_election",
      "upcoming_elections",
      "poll_blackout",
      "pollster",
      "election_status",
      "when_final",
      "check_question",
      "resolution_sources",
      "submit_correction",
      "dataset_health"
    ],
    "declared": {
      "tools": [
        {
          "name": "next_election",
          "title": "Next election in a country",
          "description": "The next elections in one country, however far ahead: polling day and whether it is declared, still tentative, or only expected within a period, what is elected, the counting authority, and when results are expected. Answers \"When is the next election in Austria?\" or \"When are the US midterms?\". National elections by default; level \"regional\" answers \"When are the next state elections in Germany?\". Covers 390 elections in 100 countries, 2021–2030, including 23 of the 27 EU member states, the 2026 US midterms in all 50 states and the certified 2024 US presidential result, with vote counts, in all 50 states and DC.",
          "inputSchema": {
            "type": "object",
            "required": [
              "country"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "maximum": 10,
                "minimum": 1,
                "description": "How many upcoming elections to return, soonest first; default 3"
              },
              "level": {
                "enum": [
                  "national",
                  "regional",
                  "all"
                ],
                "type": "string",
                "description": "national: the country votes; regional: a state, region or autonomous community elects its own parliament or head (German Länder, Spanish autonomous communities, Italian regions). Default national; the answer also counts upcoming regional elections"
              },
              "country": {
                "type": "string",
                "description": "Country name or ISO 3166-1 alpha-2 code, e.g. \"Austria\" or \"AT\", \"United States\" or \"US\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "country",
                  "elections"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "description": "Set when nothing is listed yet"
                  },
                  "level": {
                    "type": "string",
                    "description": "national, regional or all"
                  },
                  "country": {
                    "type": "string",
                    "description": "ISO code"
                  },
                  "elections": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "country",
                        "date",
                        "status",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Election id"
                        },
                        "url": {
                          "type": "string",
                          "description": "Page on electionindex.org"
                        },
                        "date": {
                          "type": "string",
                          "description": "Polling day (YYYY-MM-DD); for an expected date, the last day of date_window"
                        },
                        "kind": {
                          "type": "string",
                          "description": "Kind of election"
                        },
                        "level": {
                          "type": "string",
                          "description": "national or regional"
                        },
                        "races": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Race id"
                              },
                              "name": {
                                "type": "string",
                                "description": "Race name"
                              },
                              "stages": {
                                "type": "array",
                                "items": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "by": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Latest expected time (ISO)"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Earliest expected time (ISO)"
                                    },
                                    "stage": {
                                      "type": "string",
                                      "description": "Count stage id"
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Source of a stage published outside the authority page"
                                    },
                                    "citation": {
                                      "type": "string",
                                      "description": "Basis for the window"
                                    },
                                    "confidence": {
                                      "type": "string",
                                      "description": "announced (law or authority), precedent (last election) or estimate"
                                    },
                                    "observedAt": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When the authority actually published it; null until observed"
                                    },
                                    "replacedAt": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When a later stage replaces it on the authority page"
                                    },
                                    "observedSource": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "URL that proves the observation"
                                    }
                                  },
                                  "description": "Expected window for one count stage"
                                }
                              },
                              "status": {
                                "type": "string",
                                "description": "Race status"
                              },
                              "results": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "rows": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "party": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Party, where recorded"
                                          },
                                          "seats": {
                                            "type": [
                                              "integer",
                                              "null"
                                            ],
                                            "description": "Seats or electoral votes won"
                                          },
                                          "share": {
                                            "type": [
                                              "number",
                                              "null"
                                            ],
                                            "description": "Percent of total votes"
                                          },
                                          "votes": {
                                            "type": "integer",
                                            "description": "Votes"
                                          },
                                          "colour": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Party colour (#RRGGBB, from Wikidata)"
                                          },
                                          "winner": {
                                            "type": "boolean",
                                            "description": "Most votes in this count"
                                          },
                                          "party_id": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Wikidata QID of the party"
                                          },
                                          "candidate": {
                                            "type": "string",
                                            "description": "Candidate or list"
                                          },
                                          "ballot_name": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Name on the ballot, as the authority's file writes it"
                                          }
                                        }
                                      }
                                    },
                                    "stage": {
                                      "type": "string",
                                      "description": "Count stage of this version, e.g. final-result"
                                    },
                                    "source": {
                                      "type": "string",
                                      "description": "File or page the numbers were copied from"
                                    },
                                    "licence": {
                                      "type": "string",
                                      "description": "Licence of the numbers"
                                    },
                                    "turnout": {
                                      "type": [
                                        "number",
                                        "null"
                                      ],
                                      "description": "Percent of registered voters who cast a ballot"
                                    },
                                    "publisher": {
                                      "type": "string",
                                      "description": "Who published the count"
                                    },
                                    "electorate": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "description": "Registered voters"
                                    },
                                    "total_votes": {
                                      "type": "integer",
                                      "description": "Total votes cast in the race"
                                    },
                                    "published_at": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When the publisher released it"
                                    }
                                  }
                                },
                                "description": "Published counts we hold, oldest first (empty until a count is recorded)"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "Source URL"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "description": "race_results, feed, results_index, emb_home, directory or media"
                                    },
                                    "role": {
                                      "type": "string",
                                      "description": "What the page is for"
                                    },
                                    "check": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "description": "Latest link check"
                                    },
                                    "origin": {
                                      "type": "string",
                                      "description": "race, stage or authority"
                                    },
                                    "kindReason": {
                                      "type": "string",
                                      "description": "Why it was classified that way"
                                    },
                                    "resolvable": {
                                      "type": "boolean",
                                      "description": "Can this page answer a results question?"
                                    },
                                    "oracle_reads": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "description": "Settlement-oracle lab reads of this URL: right, wrong, unread, lab, at"
                                    },
                                    "figures_in_html": {
                                      "type": [
                                        "boolean",
                                        "null"
                                      ],
                                      "description": "For a results page: whether its own HTML shows a count (false: figures load by script or the page only links on; null: not read)"
                                    }
                                  }
                                }
                              },
                              "expected_stage_now": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Count stage expected on the authority page now"
                              }
                            }
                          }
                        },
                        "stale": {
                          "type": "boolean",
                          "description": "Not re-verified recently, or a stage is overdue"
                        },
                        "status": {
                          "type": "string",
                          "description": "Where the election is now: scheduled, counting, finalising, final-expected, ..."
                        },
                        "country": {
                          "type": "string",
                          "description": "ISO 3166-1 alpha-2"
                        },
                        "timezone": {
                          "type": "string",
                          "description": "IANA time zone"
                        },
                        "exit_poll": {
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The one time to show: when it was published, else when it is due (UTC ISO)"
                            },
                            "by": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Latest expected publication (UTC ISO)"
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Earliest expected publication (UTC ISO)"
                            },
                            "race": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The race the answer is recorded on"
                            },
                            "basis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "What the expectation, or the finding that none is published, rests on"
                            },
                            "source": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Where it is published"
                            },
                            "status": {
                              "type": "string",
                              "description": "expected (due), past (due time has passed, publication not observed), published (observed), none (checked: no exit poll is published), or unknown (not yet recorded)"
                            },
                            "ban_ends": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "description": "While a verified ban is in force: at (UTC, polls close), local, citation, scope (publication: all polls; exit-polls: exit-poll results only)"
                            },
                            "publisher": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Who publishes it, e.g. a broadcaster and its pollster"
                            },
                            "checked_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "For none: when that was checked (YYYY-MM-DD)"
                            },
                            "confidence": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "announced, precedent or estimate"
                            },
                            "observed_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When it was published, once observed"
                            },
                            "observed_source": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Page that shows the publication, once observed"
                            },
                            "official_result": {
                              "type": "boolean",
                              "description": "Always false"
                            }
                          },
                          "description": "When is the exit poll? An exit poll is a survey of voters leaving polling stations, never an official result"
                        },
                        "date_status": {
                          "type": "string",
                          "description": "declared, tentative, or expected (no day set yet: see date_window)"
                        },
                        "date_window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "to": {
                              "type": "string",
                              "description": "Last possible day (YYYY-MM-DD)"
                            },
                            "from": {
                              "type": "string",
                              "description": "First possible day (YYYY-MM-DD)"
                            },
                            "label": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "How we name the period, e.g. \"Q2 2029\""
                            }
                          },
                          "description": "Only for date_status \"expected\": the period polling day is expected in"
                        },
                        "subdivision": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "ISO 3166-2 code of the state or region, if the election belongs to one"
                        },
                        "country_name": {
                          "type": "string",
                          "description": "Country name"
                        },
                        "stale_reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Why it is stale"
                        },
                        "poll_blackout": {
                          "type": "object",
                          "properties": {
                            "mode": {
                              "type": "string",
                              "description": "warn: polls may be shown behind a warning; withhold: do not show them"
                            },
                            "rule": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Rule id"
                                },
                                "law": {
                                  "type": "string",
                                  "description": "The law, by its own title"
                                },
                                "note": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Reading notes"
                                },
                                "legal": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Quote, English gloss, what it covers, whether it covers online publication, exemptions, penalty, enforcer"
                                },
                                "scope": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "description": "What is banned: publication, exit-polls"
                                },
                                "source": {
                                  "type": "string",
                                  "description": "Official text the rule was read in"
                                },
                                "citation": {
                                  "type": "string",
                                  "description": "The provision"
                                },
                                "verified_at": {
                                  "type": "string",
                                  "description": "When the rule was last read against the source (YYYY-MM-DD)"
                                }
                              },
                              "description": "The rule as recorded"
                            },
                            "active": {
                              "type": "boolean",
                              "description": "Show polls only behind a warning now (see reason)"
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ban (a verified ban applies), unverified (no verified rule; warning until polls close), or null"
                            },
                            "ends_at": {
                              "type": "string",
                              "description": "When the ban or warning ends: the last polls close (UTC ISO)"
                            },
                            "citation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The law and provision behind an active or upcoming ban"
                            },
                            "timezone": {
                              "type": "string",
                              "description": "IANA time zone of ends_at_local"
                            },
                            "verified": {
                              "type": "boolean",
                              "description": "We hold a rule for this country read against the law"
                            },
                            "starts_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When the ban starts (UTC ISO); null if the law sets none or no rule is known"
                            },
                            "ends_at_local": {
                              "type": "string",
                              "description": "The same moment in local time, with offset"
                            },
                            "date_tentative": {
                              "type": "boolean",
                              "description": "Polling day is not declared yet, so these times may move"
                            }
                          },
                          "description": "Whether opinion polls for this election should be shown only behind a warning right now, checked at request time. reason \"ban\": a poll-publication ban applies under the cited law. reason \"unverified\": we hold no verified rule for this country, so we cannot say publishing is allowed; it is not a finding that polls are banned. Show polls behind a warning (mode warn) or not at all (mode withhold)"
                        },
                        "last_verified_at": {
                          "type": "string",
                          "description": "When the record was last checked against its sources"
                        },
                        "subdivision_name": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Name of that state or region"
                        }
                      }
                    }
                  },
                  "country_name": {
                    "type": "string",
                    "description": "Country name"
                  },
                  "total_upcoming": {
                    "type": "integer",
                    "description": "All upcoming elections we list for this country at this level"
                  },
                  "regional_upcoming": {
                    "type": "integer",
                    "description": "Upcoming regional elections in this country (with level national); ask again with level \"regional\""
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "upcoming_elections",
          "title": "Upcoming elections",
          "description": "List elections by date range and/or country, soonest first, with each race's expected count stage right now. Answers \"Which elections are in Europe this autumn?\", \"Which elections are this month?\" or \"What elections does Germany have coming up?\". Without dates it starts today; with a country and no end date it covers every future election of that country, otherwise the next 365 days. Covers 390 elections in 100 countries, 2021–2030, including 23 of the 27 EU member states, the 2026 US midterms in all 50 states and the certified 2024 US presidential result, with vote counts, in all 50 states and DC.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "End date YYYY-MM-DD; default +365 days, or no end when a country is given"
              },
              "from": {
                "type": "string",
                "description": "Start date YYYY-MM-DD; default today"
              },
              "level": {
                "enum": [
                  "national",
                  "regional",
                  "all"
                ],
                "type": "string",
                "description": "national: the country votes; regional: a state, region or autonomous community elects its own parliament or head (German Länder, Spanish autonomous communities, Italian regions). Default all"
              },
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1,
                "description": "Most elections to return, soonest first; default 25, max 200. Narrow with from/to or country for more."
              },
              "country": {
                "type": "string",
                "description": "Country name or ISO 3166-1 alpha-2 code, e.g. \"Austria\" or \"AT\", \"United States\" or \"US\""
              },
              "include_discovered": {
                "type": "boolean",
                "description": "Also list elections found on Wikidata but not yet verified by Global Election Index"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "elections"
                ],
                "properties": {
                  "total": {
                    "type": "integer",
                    "description": "Elections matching the filters"
                  },
                  "returned": {
                    "type": "integer",
                    "description": "Elections in this answer (see limit)"
                  },
                  "elections": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "country",
                        "date",
                        "status",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Election id"
                        },
                        "url": {
                          "type": "string",
                          "description": "Page on electionindex.org"
                        },
                        "date": {
                          "type": "string",
                          "description": "Polling day (YYYY-MM-DD); for an expected date, the last day of date_window"
                        },
                        "kind": {
                          "type": "string",
                          "description": "Kind of election"
                        },
                        "level": {
                          "type": "string",
                          "description": "national or regional"
                        },
                        "races": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Race id"
                              },
                              "name": {
                                "type": "string",
                                "description": "Race name"
                              },
                              "stages": {
                                "type": "array",
                                "items": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "by": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Latest expected time (ISO)"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Earliest expected time (ISO)"
                                    },
                                    "stage": {
                                      "type": "string",
                                      "description": "Count stage id"
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Source of a stage published outside the authority page"
                                    },
                                    "citation": {
                                      "type": "string",
                                      "description": "Basis for the window"
                                    },
                                    "confidence": {
                                      "type": "string",
                                      "description": "announced (law or authority), precedent (last election) or estimate"
                                    },
                                    "observedAt": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When the authority actually published it; null until observed"
                                    },
                                    "replacedAt": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When a later stage replaces it on the authority page"
                                    },
                                    "observedSource": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "URL that proves the observation"
                                    }
                                  },
                                  "description": "Expected window for one count stage"
                                }
                              },
                              "status": {
                                "type": "string",
                                "description": "Race status"
                              },
                              "results": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "rows": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "party": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Party, where recorded"
                                          },
                                          "seats": {
                                            "type": [
                                              "integer",
                                              "null"
                                            ],
                                            "description": "Seats or electoral votes won"
                                          },
                                          "share": {
                                            "type": [
                                              "number",
                                              "null"
                                            ],
                                            "description": "Percent of total votes"
                                          },
                                          "votes": {
                                            "type": "integer",
                                            "description": "Votes"
                                          },
                                          "colour": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Party colour (#RRGGBB, from Wikidata)"
                                          },
                                          "winner": {
                                            "type": "boolean",
                                            "description": "Most votes in this count"
                                          },
                                          "party_id": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Wikidata QID of the party"
                                          },
                                          "candidate": {
                                            "type": "string",
                                            "description": "Candidate or list"
                                          },
                                          "ballot_name": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Name on the ballot, as the authority's file writes it"
                                          }
                                        }
                                      }
                                    },
                                    "stage": {
                                      "type": "string",
                                      "description": "Count stage of this version, e.g. final-result"
                                    },
                                    "source": {
                                      "type": "string",
                                      "description": "File or page the numbers were copied from"
                                    },
                                    "licence": {
                                      "type": "string",
                                      "description": "Licence of the numbers"
                                    },
                                    "turnout": {
                                      "type": [
                                        "number",
                                        "null"
                                      ],
                                      "description": "Percent of registered voters who cast a ballot"
                                    },
                                    "publisher": {
                                      "type": "string",
                                      "description": "Who published the count"
                                    },
                                    "electorate": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "description": "Registered voters"
                                    },
                                    "total_votes": {
                                      "type": "integer",
                                      "description": "Total votes cast in the race"
                                    },
                                    "published_at": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When the publisher released it"
                                    }
                                  }
                                },
                                "description": "Published counts we hold, oldest first (empty until a count is recorded)"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "Source URL"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "description": "race_results, feed, results_index, emb_home, directory or media"
                                    },
                                    "role": {
                                      "type": "string",
                                      "description": "What the page is for"
                                    },
                                    "check": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "description": "Latest link check"
                                    },
                                    "origin": {
                                      "type": "string",
                                      "description": "race, stage or authority"
                                    },
                                    "kindReason": {
                                      "type": "string",
                                      "description": "Why it was classified that way"
                                    },
                                    "resolvable": {
                                      "type": "boolean",
                                      "description": "Can this page answer a results question?"
                                    },
                                    "oracle_reads": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "description": "Settlement-oracle lab reads of this URL: right, wrong, unread, lab, at"
                                    },
                                    "figures_in_html": {
                                      "type": [
                                        "boolean",
                                        "null"
                                      ],
                                      "description": "For a results page: whether its own HTML shows a count (false: figures load by script or the page only links on; null: not read)"
                                    }
                                  }
                                }
                              },
                              "expected_stage_now": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Count stage expected on the authority page now"
                              }
                            }
                          }
                        },
                        "stale": {
                          "type": "boolean",
                          "description": "Not re-verified recently, or a stage is overdue"
                        },
                        "status": {
                          "type": "string",
                          "description": "Where the election is now: scheduled, counting, finalising, final-expected, ..."
                        },
                        "country": {
                          "type": "string",
                          "description": "ISO 3166-1 alpha-2"
                        },
                        "timezone": {
                          "type": "string",
                          "description": "IANA time zone"
                        },
                        "exit_poll": {
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The one time to show: when it was published, else when it is due (UTC ISO)"
                            },
                            "by": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Latest expected publication (UTC ISO)"
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Earliest expected publication (UTC ISO)"
                            },
                            "race": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The race the answer is recorded on"
                            },
                            "basis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "What the expectation, or the finding that none is published, rests on"
                            },
                            "source": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Where it is published"
                            },
                            "status": {
                              "type": "string",
                              "description": "expected (due), past (due time has passed, publication not observed), published (observed), none (checked: no exit poll is published), or unknown (not yet recorded)"
                            },
                            "ban_ends": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "description": "While a verified ban is in force: at (UTC, polls close), local, citation, scope (publication: all polls; exit-polls: exit-poll results only)"
                            },
                            "publisher": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Who publishes it, e.g. a broadcaster and its pollster"
                            },
                            "checked_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "For none: when that was checked (YYYY-MM-DD)"
                            },
                            "confidence": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "announced, precedent or estimate"
                            },
                            "observed_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When it was published, once observed"
                            },
                            "observed_source": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Page that shows the publication, once observed"
                            },
                            "official_result": {
                              "type": "boolean",
                              "description": "Always false"
                            }
                          },
                          "description": "When is the exit poll? An exit poll is a survey of voters leaving polling stations, never an official result"
                        },
                        "date_status": {
                          "type": "string",
                          "description": "declared, tentative, or expected (no day set yet: see date_window)"
                        },
                        "date_window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "to": {
                              "type": "string",
                              "description": "Last possible day (YYYY-MM-DD)"
                            },
                            "from": {
                              "type": "string",
                              "description": "First possible day (YYYY-MM-DD)"
                            },
                            "label": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "How we name the period, e.g. \"Q2 2029\""
                            }
                          },
                          "description": "Only for date_status \"expected\": the period polling day is expected in"
                        },
                        "subdivision": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "ISO 3166-2 code of the state or region, if the election belongs to one"
                        },
                        "country_name": {
                          "type": "string",
                          "description": "Country name"
                        },
                        "stale_reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Why it is stale"
                        },
                        "poll_blackout": {
                          "type": "object",
                          "properties": {
                            "mode": {
                              "type": "string",
                              "description": "warn: polls may be shown behind a warning; withhold: do not show them"
                            },
                            "rule": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Rule id"
                                },
                                "law": {
                                  "type": "string",
                                  "description": "The law, by its own title"
                                },
                                "note": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Reading notes"
                                },
                                "legal": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Quote, English gloss, what it covers, whether it covers online publication, exemptions, penalty, enforcer"
                                },
                                "scope": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "description": "What is banned: publication, exit-polls"
                                },
                                "source": {
                                  "type": "string",
                                  "description": "Official text the rule was read in"
                                },
                                "citation": {
                                  "type": "string",
                                  "description": "The provision"
                                },
                                "verified_at": {
                                  "type": "string",
                                  "description": "When the rule was last read against the source (YYYY-MM-DD)"
                                }
                              },
                              "description": "The rule as recorded"
                            },
                            "active": {
                              "type": "boolean",
                              "description": "Show polls only behind a warning now (see reason)"
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ban (a verified ban applies), unverified (no verified rule; warning until polls close), or null"
                            },
                            "ends_at": {
                              "type": "string",
                              "description": "When the ban or warning ends: the last polls close (UTC ISO)"
                            },
                            "citation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The law and provision behind an active or upcoming ban"
                            },
                            "timezone": {
                              "type": "string",
                              "description": "IANA time zone of ends_at_local"
                            },
                            "verified": {
                              "type": "boolean",
                              "description": "We hold a rule for this country read against the law"
                            },
                            "starts_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When the ban starts (UTC ISO); null if the law sets none or no rule is known"
                            },
                            "ends_at_local": {
                              "type": "string",
                              "description": "The same moment in local time, with offset"
                            },
                            "date_tentative": {
                              "type": "boolean",
                              "description": "Polling day is not declared yet, so these times may move"
                            }
                          },
                          "description": "Whether opinion polls for this election should be shown only behind a warning right now, checked at request time. reason \"ban\": a poll-publication ban applies under the cited law. reason \"unverified\": we hold no verified rule for this country, so we cannot say publishing is allowed; it is not a finding that polls are banned. Show polls behind a warning (mode warn) or not at all (mode withhold)"
                        },
                        "last_verified_at": {
                          "type": "string",
                          "description": "When the record was last checked against its sources"
                        },
                        "subdivision_name": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Name of that state or region"
                        }
                      }
                    }
                  },
                  "discovered_unverified": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "Found on Wikidata, not verified"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "poll_blackout",
          "title": "Can polls be published before this election?",
          "description": "Whether a country bans publishing opinion polls before a vote, checked now: verdict ban / no-ban / exit-polls-only / unverified, when a ban starts and ends (polls close), whether it is in force, the law and article, and the official text it was read in. Answers \"Can I publish a poll in Spain this week?\" or \"When does the poll blackout end in Serbia?\". Give an election id, or a country for its next vote. \"unverified\" means we hold no verified rule: it is not a finding that polls are allowed. Not legal advice.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "country": {
                "type": "string",
                "description": "Country name or ISO 3166-1 alpha-2 code, e.g. \"Austria\" or \"AT\", \"United States\" or \"US\"; answers for its next election"
              },
              "election": {
                "type": "string",
                "description": "Election id, e.g. \"spain-general-2026\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "election",
                  "verdict"
                ],
                "properties": {
                  "rule": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "The rule as recorded: law, citation, official source, scope, verified_at, legal detail"
                  },
                  "ends_at": {
                    "type": "string",
                    "description": "When it ends: the last polls close (UTC ISO)"
                  },
                  "verdict": {
                    "type": "string",
                    "description": "ban, no-ban, exit-polls-only, or unverified (no verified rule: not a finding that polls are allowed)"
                  },
                  "citation": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Law and article, short form"
                  },
                  "election": {
                    "type": "string",
                    "description": "Election id"
                  },
                  "in_force": {
                    "type": "boolean",
                    "description": "A verified ban applies right now"
                  },
                  "starts_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When the ban starts (UTC ISO)"
                  },
                  "ends_at_local": {
                    "type": "string",
                    "description": "The same in local time, with offset"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "pollster",
          "title": "Pollster track record",
          "description": "A pollster's final published poll before each election we hold a certified result for, set against that result: share per party or candidate, error in points, mean absolute error, and the error on the winner's margin. Figures come from the pollster's own release or a registry, never an aggregator. Measured facts, not grades: nothing is ranked. Answers \"How accurate was Novus in Sweden 2026?\". Give a pollster id or name.",
          "inputSchema": {
            "type": "object",
            "required": [
              "pollster"
            ],
            "properties": {
              "pollster": {
                "type": "string",
                "description": "Pollster id or name, e.g. \"novus\" or \"Verian\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Pollster id"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name"
                  },
                  "country": {
                    "type": "string",
                    "description": "ISO 3166-1 alpha-2"
                  },
                  "final_polls": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                },
                "description": "The pollster and its final polls, each with against_result (rows, mean_abs_error, margin_error, margin_towards: the count’s name for the contestant the poll leaned to, margin_towards_label: as readers know it, leader_same_as_result) or not_comparable"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "election_status",
          "title": "Election status",
          "description": "Full record of one election: races, polls-close times, every count stage window (exit poll, election night, intermediate count, final result, government) with confidence and citation, the authority, sources, recorded vote counts, whether the record is stale, whether a poll-publication ban (poll_blackout) applies now, and when the exit poll is expected (exit_poll).",
          "inputSchema": {
            "type": "object",
            "required": [
              "election"
            ],
            "properties": {
              "election": {
                "type": "string",
                "description": "Election id, e.g. \"latvia-parliamentary-2026\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "id",
                  "country",
                  "date",
                  "status",
                  "url"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Election id"
                  },
                  "url": {
                    "type": "string",
                    "description": "Page on electionindex.org"
                  },
                  "date": {
                    "type": "string",
                    "description": "Polling day (YYYY-MM-DD); for an expected date, the last day of date_window"
                  },
                  "kind": {
                    "type": "string",
                    "description": "Kind of election"
                  },
                  "level": {
                    "type": "string",
                    "description": "national or regional"
                  },
                  "races": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Race id"
                        },
                        "name": {
                          "type": "string",
                          "description": "Race name"
                        },
                        "stages": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "by": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Latest expected time (ISO)"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Earliest expected time (ISO)"
                              },
                              "stage": {
                                "type": "string",
                                "description": "Count stage id"
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Source of a stage published outside the authority page"
                              },
                              "citation": {
                                "type": "string",
                                "description": "Basis for the window"
                              },
                              "confidence": {
                                "type": "string",
                                "description": "announced (law or authority), precedent (last election) or estimate"
                              },
                              "observedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When the authority actually published it; null until observed"
                              },
                              "replacedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When a later stage replaces it on the authority page"
                              },
                              "observedSource": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "URL that proves the observation"
                              }
                            },
                            "description": "Expected window for one count stage"
                          }
                        },
                        "status": {
                          "type": "string",
                          "description": "Race status"
                        },
                        "results": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "party": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Party, where recorded"
                                    },
                                    "seats": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "description": "Seats or electoral votes won"
                                    },
                                    "share": {
                                      "type": [
                                        "number",
                                        "null"
                                      ],
                                      "description": "Percent of total votes"
                                    },
                                    "votes": {
                                      "type": "integer",
                                      "description": "Votes"
                                    },
                                    "colour": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Party colour (#RRGGBB, from Wikidata)"
                                    },
                                    "winner": {
                                      "type": "boolean",
                                      "description": "Most votes in this count"
                                    },
                                    "party_id": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Wikidata QID of the party"
                                    },
                                    "candidate": {
                                      "type": "string",
                                      "description": "Candidate or list"
                                    },
                                    "ballot_name": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Name on the ballot, as the authority's file writes it"
                                    }
                                  }
                                }
                              },
                              "stage": {
                                "type": "string",
                                "description": "Count stage of this version, e.g. final-result"
                              },
                              "source": {
                                "type": "string",
                                "description": "File or page the numbers were copied from"
                              },
                              "licence": {
                                "type": "string",
                                "description": "Licence of the numbers"
                              },
                              "turnout": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Percent of registered voters who cast a ballot"
                              },
                              "publisher": {
                                "type": "string",
                                "description": "Who published the count"
                              },
                              "electorate": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "description": "Registered voters"
                              },
                              "total_votes": {
                                "type": "integer",
                                "description": "Total votes cast in the race"
                              },
                              "published_at": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When the publisher released it"
                              }
                            }
                          },
                          "description": "Published counts we hold, oldest first (empty until a count is recorded)"
                        },
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string",
                                "description": "Source URL"
                              },
                              "kind": {
                                "type": "string",
                                "description": "race_results, feed, results_index, emb_home, directory or media"
                              },
                              "role": {
                                "type": "string",
                                "description": "What the page is for"
                              },
                              "check": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "description": "Latest link check"
                              },
                              "origin": {
                                "type": "string",
                                "description": "race, stage or authority"
                              },
                              "kindReason": {
                                "type": "string",
                                "description": "Why it was classified that way"
                              },
                              "resolvable": {
                                "type": "boolean",
                                "description": "Can this page answer a results question?"
                              },
                              "oracle_reads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "description": "Settlement-oracle lab reads of this URL: right, wrong, unread, lab, at"
                              },
                              "figures_in_html": {
                                "type": [
                                  "boolean",
                                  "null"
                                ],
                                "description": "For a results page: whether its own HTML shows a count (false: figures load by script or the page only links on; null: not read)"
                              }
                            }
                          }
                        },
                        "expected_stage_now": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Count stage expected on the authority page now"
                        }
                      }
                    }
                  },
                  "stale": {
                    "type": "boolean",
                    "description": "Not re-verified recently, or a stage is overdue"
                  },
                  "status": {
                    "type": "string",
                    "description": "Where the election is now: scheduled, counting, finalising, final-expected, ..."
                  },
                  "country": {
                    "type": "string",
                    "description": "ISO 3166-1 alpha-2"
                  },
                  "timezone": {
                    "type": "string",
                    "description": "IANA time zone"
                  },
                  "exit_poll": {
                    "type": "object",
                    "properties": {
                      "at": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The one time to show: when it was published, else when it is due (UTC ISO)"
                      },
                      "by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Latest expected publication (UTC ISO)"
                      },
                      "from": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Earliest expected publication (UTC ISO)"
                      },
                      "race": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The race the answer is recorded on"
                      },
                      "basis": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "What the expectation, or the finding that none is published, rests on"
                      },
                      "source": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Where it is published"
                      },
                      "status": {
                        "type": "string",
                        "description": "expected (due), past (due time has passed, publication not observed), published (observed), none (checked: no exit poll is published), or unknown (not yet recorded)"
                      },
                      "ban_ends": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "description": "While a verified ban is in force: at (UTC, polls close), local, citation, scope (publication: all polls; exit-polls: exit-poll results only)"
                      },
                      "publisher": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Who publishes it, e.g. a broadcaster and its pollster"
                      },
                      "checked_at": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "For none: when that was checked (YYYY-MM-DD)"
                      },
                      "confidence": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "announced, precedent or estimate"
                      },
                      "observed_at": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When it was published, once observed"
                      },
                      "observed_source": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Page that shows the publication, once observed"
                      },
                      "official_result": {
                        "type": "boolean",
                        "description": "Always false"
                      }
                    },
                    "description": "When is the exit poll? An exit poll is a survey of voters leaving polling stations, never an official result"
                  },
                  "date_status": {
                    "type": "string",
                    "description": "declared, tentative, or expected (no day set yet: see date_window)"
                  },
                  "date_window": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "description": "Last possible day (YYYY-MM-DD)"
                      },
                      "from": {
                        "type": "string",
                        "description": "First possible day (YYYY-MM-DD)"
                      },
                      "label": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "How we name the period, e.g. \"Q2 2029\""
                      }
                    },
                    "description": "Only for date_status \"expected\": the period polling day is expected in"
                  },
                  "subdivision": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "ISO 3166-2 code of the state or region, if the election belongs to one"
                  },
                  "country_name": {
                    "type": "string",
                    "description": "Country name"
                  },
                  "stale_reason": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Why it is stale"
                  },
                  "poll_blackout": {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "description": "warn: polls may be shown behind a warning; withhold: do not show them"
                      },
                      "rule": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Rule id"
                          },
                          "law": {
                            "type": "string",
                            "description": "The law, by its own title"
                          },
                          "note": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Reading notes"
                          },
                          "legal": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "Quote, English gloss, what it covers, whether it covers online publication, exemptions, penalty, enforcer"
                          },
                          "scope": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "What is banned: publication, exit-polls"
                          },
                          "source": {
                            "type": "string",
                            "description": "Official text the rule was read in"
                          },
                          "citation": {
                            "type": "string",
                            "description": "The provision"
                          },
                          "verified_at": {
                            "type": "string",
                            "description": "When the rule was last read against the source (YYYY-MM-DD)"
                          }
                        },
                        "description": "The rule as recorded"
                      },
                      "active": {
                        "type": "boolean",
                        "description": "Show polls only behind a warning now (see reason)"
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "ban (a verified ban applies), unverified (no verified rule; warning until polls close), or null"
                      },
                      "ends_at": {
                        "type": "string",
                        "description": "When the ban or warning ends: the last polls close (UTC ISO)"
                      },
                      "citation": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The law and provision behind an active or upcoming ban"
                      },
                      "timezone": {
                        "type": "string",
                        "description": "IANA time zone of ends_at_local"
                      },
                      "verified": {
                        "type": "boolean",
                        "description": "We hold a rule for this country read against the law"
                      },
                      "starts_at": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When the ban starts (UTC ISO); null if the law sets none or no rule is known"
                      },
                      "ends_at_local": {
                        "type": "string",
                        "description": "The same moment in local time, with offset"
                      },
                      "date_tentative": {
                        "type": "boolean",
                        "description": "Polling day is not declared yet, so these times may move"
                      }
                    },
                    "description": "Whether opinion polls for this election should be shown only behind a warning right now, checked at request time. reason \"ban\": a poll-publication ban applies under the cited law. reason \"unverified\": we hold no verified rule for this country, so we cannot say publishing is allowed; it is not a finding that polls are banned. Show polls behind a warning (mode warn) or not at all (mode withhold)"
                  },
                  "last_verified_at": {
                    "type": "string",
                    "description": "When the record was last checked against its sources"
                  },
                  "subdivision_name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Name of that state or region"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "when_final",
          "title": "When is the result final?",
          "description": "When will a race's final (certified) result exist? Returns the expected window, its confidence (announced / precedent / estimate) and basis, how many days the final took last time, and the final count itself once we hold it. Use this before asking or settling any \"final result\" question.",
          "inputSchema": {
            "type": "object",
            "required": [
              "election"
            ],
            "properties": {
              "race": {
                "type": "string",
                "description": "Race id, e.g. \"president\"; optional when the election has one race"
              },
              "election": {
                "type": "string",
                "description": "Election id, e.g. \"brazil-general-2026\"; list ids with upcoming_elections"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "election",
                  "race",
                  "observed"
                ],
                "properties": {
                  "race": {
                    "type": "string",
                    "description": "Race id"
                  },
                  "basis": {
                    "type": "string",
                    "description": "Legal or historical basis"
                  },
                  "election": {
                    "type": "string",
                    "description": "Election id"
                  },
                  "observed": {
                    "type": "boolean",
                    "description": "True once the authority has published the final result"
                  },
                  "last_time": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "act": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "What the final act was"
                      },
                      "days": {
                        "type": "integer",
                        "description": "Days from polling day to the final act"
                      },
                      "source": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Page showing the date"
                      },
                      "election": {
                        "type": "string",
                        "description": "That election, e.g. \"Bundestag 2025\""
                      },
                      "final_on": {
                        "type": "string",
                        "description": "Day of its official final act"
                      },
                      "polling_day": {
                        "type": "string",
                        "description": "Its polling day"
                      },
                      "source_kind": {
                        "type": "string",
                        "description": "authority or press"
                      }
                    },
                    "description": "How long the final result took the last time this kind of race was held here"
                  },
                  "confidence": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "announced, precedent or estimate"
                  },
                  "final_result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "party": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Party, where recorded"
                            },
                            "seats": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "description": "Seats or electoral votes won"
                            },
                            "share": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Percent of total votes"
                            },
                            "votes": {
                              "type": "integer",
                              "description": "Votes"
                            },
                            "colour": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Party colour (#RRGGBB, from Wikidata)"
                            },
                            "winner": {
                              "type": "boolean",
                              "description": "Most votes in this count"
                            },
                            "party_id": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Wikidata QID of the party"
                            },
                            "candidate": {
                              "type": "string",
                              "description": "Candidate or list"
                            },
                            "ballot_name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Name on the ballot, as the authority's file writes it"
                            }
                          }
                        }
                      },
                      "stage": {
                        "type": "string",
                        "description": "Count stage of this version, e.g. final-result"
                      },
                      "source": {
                        "type": "string",
                        "description": "File or page the numbers were copied from"
                      },
                      "licence": {
                        "type": "string",
                        "description": "Licence of the numbers"
                      },
                      "turnout": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Percent of registered voters who cast a ballot"
                      },
                      "publisher": {
                        "type": "string",
                        "description": "Who published the count"
                      },
                      "electorate": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "description": "Registered voters"
                      },
                      "total_votes": {
                        "type": "integer",
                        "description": "Total votes cast in the race"
                      },
                      "published_at": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When the publisher released it"
                      }
                    },
                    "description": "The final count, when we hold it"
                  },
                  "final_expected_by": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Latest expected time of the final result"
                  },
                  "final_expected_from": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Earliest expected time of the final result"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "check_question",
          "title": "Check a question",
          "description": "Is a question about a given count stage answerable at a given time? Returns verdict ok / too-early / inside-window / too-late, settle_after, and the resolvable sources. Built to stop questions that read the provisional count when they mean the final one.",
          "inputSchema": {
            "type": "object",
            "required": [
              "election"
            ],
            "properties": {
              "race": {
                "type": "string",
                "description": "Race id, e.g. \"president\"; optional when the election has one race"
              },
              "stage": {
                "enum": [
                  "exit-poll",
                  "election-night",
                  "media-call",
                  "intermediate-count",
                  "final-result",
                  "court-validation",
                  "government"
                ],
                "type": "string",
                "description": "Default final-result"
              },
              "ask_at": {
                "type": "string",
                "description": "ISO date-time; default now"
              },
              "election": {
                "type": "string",
                "description": "Election id, e.g. \"brazil-general-2026\"; list ids with upcoming_elections"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "election",
                  "race",
                  "verdict"
                ],
                "properties": {
                  "race": {
                    "type": "string",
                    "description": "Race id"
                  },
                  "stage": {
                    "type": "string",
                    "description": "Count stage asked about"
                  },
                  "ask_at": {
                    "type": "string",
                    "description": "Time the question would be asked (ISO)"
                  },
                  "detail": {
                    "type": "string",
                    "description": "Explanation"
                  },
                  "window": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Latest expected time (ISO)"
                      },
                      "from": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Earliest expected time (ISO)"
                      },
                      "stage": {
                        "type": "string",
                        "description": "Count stage id"
                      },
                      "source": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Source of a stage published outside the authority page"
                      },
                      "citation": {
                        "type": "string",
                        "description": "Basis for the window"
                      },
                      "confidence": {
                        "type": "string",
                        "description": "announced (law or authority), precedent (last election) or estimate"
                      },
                      "observedAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When the authority actually published it; null until observed"
                      },
                      "replacedAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When a later stage replaces it on the authority page"
                      },
                      "observedSource": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "URL that proves the observation"
                      }
                    },
                    "description": "Expected window for one count stage"
                  },
                  "verdict": {
                    "type": "string",
                    "description": "ok, too-early, inside-window, too-late or no-window"
                  },
                  "election": {
                    "type": "string",
                    "description": "Election id"
                  },
                  "replaced_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When a later stage replaces this one"
                  },
                  "settle_after": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Earliest time the question can be settled"
                  },
                  "secondary_source": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "Race results page"
                      },
                      "final": {
                        "type": "boolean"
                      },
                      "stage": {
                        "type": "string",
                        "description": "Count stage of the figures shown"
                      },
                      "publisher": {
                        "type": "string",
                        "description": "Publisher"
                      },
                      "copied_from": {
                        "type": "string",
                        "description": "The authority file or page the figures come from"
                      },
                      "retrieved_at": {
                        "type": "string",
                        "description": "When we read the count (ISO)"
                      }
                    },
                    "description": "Global Election Index's own page with the count we recorded: a secondary source when the authority's page cannot be read. Null until a count is recorded."
                  },
                  "resolution_sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Source URL"
                        },
                        "kind": {
                          "type": "string",
                          "description": "race_results, feed, results_index, emb_home, directory or media"
                        },
                        "role": {
                          "type": "string",
                          "description": "What the page is for"
                        },
                        "check": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "Latest link check"
                        },
                        "origin": {
                          "type": "string",
                          "description": "race, stage or authority"
                        },
                        "kindReason": {
                          "type": "string",
                          "description": "Why it was classified that way"
                        },
                        "resolvable": {
                          "type": "boolean",
                          "description": "Can this page answer a results question?"
                        },
                        "oracle_reads": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "Settlement-oracle lab reads of this URL: right, wrong, unread, lab, at"
                        },
                        "figures_in_html": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "description": "For a results page: whether its own HTML shows a count (false: figures load by script or the page only links on; null: not read)"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "resolution_sources",
          "title": "Resolution sources",
          "description": "Every known source URL for a race, classified (race_results, feed, results_index, emb_home, directory, media). Only race_results and feed can answer a results question; homepages never can. A results page whose HTML shows no count once one is due (figures_in_html false) is not resolvable. Sources a settlement oracle has answered from come first (oracle_reads). For our own copy of the count, see secondary_source in check_question.",
          "inputSchema": {
            "type": "object",
            "required": [
              "election"
            ],
            "properties": {
              "race": {
                "type": "string",
                "description": "Race id, e.g. \"president\"; optional when the election has one race"
              },
              "election": {
                "type": "string",
                "description": "Election id, e.g. \"brazil-general-2026\"; list ids with upcoming_elections"
              },
              "resolvable_only": {
                "type": "boolean",
                "description": "Only sources that can answer a results question (race_results, feed); default false"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Source URL"
                    },
                    "kind": {
                      "type": "string",
                      "description": "race_results, feed, results_index, emb_home, directory or media"
                    },
                    "role": {
                      "type": "string",
                      "description": "What the page is for"
                    },
                    "check": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Latest link check"
                    },
                    "origin": {
                      "type": "string",
                      "description": "race, stage or authority"
                    },
                    "kindReason": {
                      "type": "string",
                      "description": "Why it was classified that way"
                    },
                    "resolvable": {
                      "type": "boolean",
                      "description": "Can this page answer a results question?"
                    },
                    "oracle_reads": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Settlement-oracle lab reads of this URL: right, wrong, unread, lab, at"
                    },
                    "figures_in_html": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "For a results page: whether its own HTML shows a count (false: figures load by script or the page only links on; null: not read)"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "submit_correction",
          "title": "Submit a correction",
          "description": "Report a mistake or a missing election, with a URL that proves it (ideally the official authority page). The report is public and is checked like any other claim; it never changes the data by itself. Returns the report id; follow it at https://electionindex.org/corrections.",
          "inputSchema": {
            "type": "object",
            "required": [
              "claim",
              "evidence"
            ],
            "properties": {
              "race": {
                "type": "string",
                "description": "Race id within that election, if the report is about one race"
              },
              "claim": {
                "type": "string",
                "description": "What is wrong and what is right, 10 to 2000 characters"
              },
              "election": {
                "type": "string",
                "description": "Election id, if the report is about a listed election"
              },
              "evidence": {
                "type": "string",
                "description": "http(s) URL of the page that proves it"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "id",
                  "status",
                  "url"
                ],
                "properties": {
                  "at": {
                    "type": "string",
                    "description": "Filed at (ISO)"
                  },
                  "id": {
                    "type": "string",
                    "description": "Report id"
                  },
                  "url": {
                    "type": "string",
                    "description": "Where to follow the report"
                  },
                  "claim": {
                    "type": "string",
                    "description": "The report"
                  },
                  "status": {
                    "type": "string",
                    "description": "open until checked"
                  },
                  "evidence": {
                    "type": "string",
                    "description": "Evidence URL"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "dataset_health",
          "title": "Dataset health",
          "description": "Coverage, stale records, races still lacking a results page, and publisher-gate warnings, as counts with the first 20 of each (full report at /v1/health). Use to judge how far to trust an answer.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "meta"
            ],
            "properties": {
              "meta": {
                "type": "object",
                "required": [
                  "dataset_version",
                  "licence"
                ],
                "properties": {
                  "doi": {
                    "type": "string",
                    "description": "Zenodo concept DOI: the latest archived release"
                  },
                  "docs": {
                    "type": "string",
                    "description": "Documentation URL"
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence and required credit"
                  },
                  "built_at": {
                    "type": "string",
                    "description": "When the dataset was built"
                  },
                  "copyright": {
                    "type": "string",
                    "description": "Rights holder"
                  },
                  "generated_at": {
                    "type": "string",
                    "description": "When this answer was generated"
                  },
                  "dataset_version": {
                    "type": "string",
                    "description": "Dataset version"
                  }
                },
                "description": "What this answer was built from; cite dataset_version"
              },
              "result": {
                "type": "object",
                "required": [
                  "elections",
                  "races"
                ],
                "properties": {
                  "races": {
                    "type": "integer",
                    "description": "Races"
                  },
                  "stale": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "First 20 stale records"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "First 20 publisher-gate warnings"
                  },
                  "elections": {
                    "type": "integer",
                    "description": "Profiled elections"
                  },
                  "authorities": {
                    "type": "integer",
                    "description": "Counting authorities"
                  },
                  "full_report": {
                    "type": "string",
                    "description": "URL of the full report with every warning"
                  },
                  "stale_total": {
                    "type": "integer",
                    "description": "All stale records"
                  },
                  "links_checked": {
                    "type": "integer",
                    "description": "Links checked by the Auditor"
                  },
                  "races_without": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "First 20 races lacking one"
                  },
                  "warnings_total": {
                    "type": "integer",
                    "description": "All publisher-gate warnings"
                  },
                  "warnings_by_level": {
                    "type": "object",
                    "description": "Warning count per level"
                  },
                  "races_without_total": {
                    "type": "integer",
                    "description": "All races lacking one"
                  },
                  "discovered_unprofiled": {
                    "type": "integer",
                    "description": "Found, not yet profiled"
                  },
                  "races_with_resolvable_results_source": {
                    "type": "integer",
                    "description": "Races with a page that can answer a results question"
                  }
                }
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Global Election Index is a neutral, sourced reference for elections: when they are held, when provisional and final results are expected and on what legal basis, who counts the votes, and which official page publishes the result. It covers 390 elections in 100 countries, 2021–2030, including 23 of the 27 EU member states, the 2026 US midterms in all 50 states and the certified 2024 US presidential result, with vote counts, in all 50 states and DC. Use next_election for \"when is the next election in X\", upcoming_elections for date ranges, election_status for the full record, and when_final or check_question to tell a provisional count from a final result. Certified counts for past elections are in election_status (e.g. \"us-presidential-2024-az\" for Arizona, \"us-presidential-2024\" for the national total). Use poll_blackout for \"can polls be published before the X election\", and pollster for a pollster's final polls against certified results. Answers are calendar expectations unless \"observed\" is true."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}