Skip to main content
Glama

Lottery Results API - Powerball, Mega Millions, History

lottery_results_api
Read-onlyIdempotent

Official lottery results as JSON, no API key: Powerball (since 2010), Mega Millions (since 2002), Millionaire for Life (new 2026 game), Cash4Life and New York games (Lotto, Take 5, Numbers, Win 4, Pick 10, Quick Draw). Latest drawing, one date, full history, check your ticket (matches, tier, prize), hot/cold number frequency. Source: New York State Gaming Commission open data. Monitor mode returns only new drawings. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/lottery-results-api.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "game": "powerball",
      "mode": "history",
      "limit": 20
    },
    "name": "lottery_results_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFor mode date, or the drawing to check in mode check: YYYY-MM-DD, for example 2026-11-14. Empty in check mode = the latest drawing.
gameNoWhich lottery game: powerball (since 2010), megamillions (since 2002) and millionaireforlife (since 2026) are multi-state games; nylotto, take5, numbers, win4, pick10, quickdraw are New York State games; cash4life is retired (history 2014-2
modeNolatest = newest drawing (Quick Draw: newest 10); date = drawings on one day (no drawing that day returns the nearest earlier one with a note); history = every drawing between Start and End date, newest first; check = compare your numbers wi
bonusNoFor mode check: your Powerball, Mega Ball, Millionaire Ball or Cash Ball number. Leave empty for games without a bonus ball.
drawsNoFor mode frequency: count the last N drawings instead of a date range, for example 100.
limitNoMaximum rows returned, newest first. Between 1 and 5000.
endDateNoFor history, frequency and range checks: last day, YYYY-MM-DD. Default: the game's latest drawing.
numbersNoFor mode check: your main numbers separated by spaces or commas, for example 10 22 33 49 57. Digit games (Numbers, Win 4): the digits in order, for example 0863.
drawTimeNoTake 5, Numbers and Win 4 draw twice a day. Empty = both drawings.
startDateNoFor history, frequency and range checks: first day, YYYY-MM-DD. Default: 90 days back (history) or 365 days back (frequency).
multiplierNoFor Mega Millions checks since 2025-04-08: the multiplier printed on your ticket (2, 3, 4, 5 or 10), so non-jackpot prizes are returned in USD. Without it you get the base prize and the min-max range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safe-read profile is covered. The description adds genuinely useful context beyond that: no API key needed for the free tier, an explicit rate limit (5 calls/day per IP), two paid auth paths, and a data provenance statement. It stops short of describing response shape, pagination, or error behavior for a 5000-row-capable history query.

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

Conciseness4/5

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

Front-loads purpose in the first clause and keeps everything in one dense paragraph with semicolon-delimited clauses, so no sentence is wasted. The trailing pricing/URL block is a little operational-heavy for a description field, but it earns its place by telling the agent how to authenticate.

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 11 optional parameters, no output schema, and no enums, the description does the important work of framing the game universe, the historical windows, and the access tiers. The main gap is the mention of a 'Monitor mode' that does not appear among the modes documented in the schema, which could mislead an agent trying to poll for new drawings.

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%, so the baseline is 3. The description reinforces the game list with coverage dates, but those dates also appear in the schema, and it adds little parameter-level detail the schema lacks — the one exception is clarifying that frequency queries are 'hot/cold number frequency' relative to the draws parameter.

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

Purpose5/5

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

States the concrete resource (official lottery results as JSON) and enumerates exactly what it covers: five game families with coverage start dates, plus the five query modes (latest, date, history, check, frequency). An agent knows precisely what data comes back and from which authority (New York State Gaming Commission open data).

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?

Gives operational selection context: free tier is 5 calls/day per IP, paid access is either a Radar API key via X-API-Key or $0.02/call via x402, and 'Monitor mode returns only new drawings' signals a polling use case. It does not, however, say when to prefer one mode over another (e.g. date vs. latest for a missed drawing) — that guidance is left to the schema.

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