Skip to main content
Glama

2026 midterm election slate

get_midterms

The election slate for 2026-11-03 (GET /v1/midterms): races, candidates and ballot measures per state, with official results where available. All data is official state election-office and FEC content collected by Delilah — no third-party attribution is required. live_results carries ONE ENTRY PER CONTEST, each with contest (e.g. primary:DEM, runoff:REP) and party: a closed primary returns each party separately and vote_pct is the share of THAT party's ballot, so never compare or rank candidates across two contests. Use for 'who is running for X' and results questions. Never call or project a race; report counts exactly as reported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoCandidate or race name search.
yearNoElection year (default 2026).
levelNofederal | governor | state_executive | state_legislative
limitNoMax rows (default 50).
stateNoPostal code. Omit for all states.
offsetNoPagination offset.
chamberNoHouse | Senate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden. It discloses critical behavioral details: live_results has one entry per contest, closed primaries return parties separately, vote_pct is within-party, and warns against cross-contest comparisons. It also instructs to never call or project races and to report counts exactly, which is essential for correct data interpretation.

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

Conciseness5/5

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

Every sentence serves a purpose: purpose, data provenance, data interpretation rules, usage, and behavioral constraints. It is front-loaded with the core purpose and structured logically. No fluff or redundancy; dense but efficient.

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

Completeness4/5

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

With no annotations and no output schema, the description must cover key usage nuances. It does so effectively, explaining the per-contest structure and vote_pct semantics. It does not explicitly mention pagination or parameter filtering, but those are fully described in the schema, so the description is sufficiently complete for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100% for all 7 parameters, so the baseline is 3. The description adds no parameter-specific meaning beyond the schema, but it does explain the data semantics of the result, which indirectly helps parameter use. No additional compensation needed given full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns the 2026 midterm election slate: races, candidates, and ballot measures per state, with official results. It distinguishes from siblings like get_candidate (single candidate) and list_candidates (candidate list) by specifying the aggregated election-slate scope.

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

Usage Guidelines4/5

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

Explicitly says 'Use for who is running for X and results questions,' giving a clear usage context. It does not explicitly list exclusions or alternative tools, but the guidance is sufficient to route the agent correctly among the many election-related siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources