Skip to main content
Glama

Lottery Numbers

Pick lottery numbers

pick_numbers
Read-only

Random numbers for a lottery game, 1 to 10 sets. Either name a game: kr645 (Lotto 6/45 (South Korea)), powerball (Powerball (USA)), megamillions (Mega Millions (USA, matrix since 2025-04-08)), euromillions (EuroMillions), uk_lotto (Lotto (UK)), jp_loto6 (Loto 6 (Japan)), jp_loto7 (Loto 7 (Japan)), thunderball (Thunderball (UK)), set_for_life (Set For Life (UK)), fr_loto (Loto (France)), br_megasena (Mega-Sena (Brazil)), br_lotofacil (Lotofácil (Brazil)), br_quina (Quina (Brazil)), br_maismilionaria (+Milionária (Brazil)); or give your own format with game "custom": count numbers from min (default 1) to max, and optionally extra_count numbers from 1 to extra_max drawn apart (a bonus ball). The result page shows the seed that reproduces it. The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.

Input Schema

NameRequiredDescriptionDefault
maxNocustom: the largest number.
minNocustom: the smallest number.
gameNoA game, or "custom" with count and max. May be left out when count and max are given.
seedNoOptional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw.
setsNo
countNocustom: how many numbers per set.
extra_maxNocustom: the largest extra number (extras start at 1).
extra_countNocustom: how many extra (bonus) numbers, drawn apart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / seed / description
      Previous value: -"Optional. 64 hex characters. Give the seed of an earlier answer to get the same result again (that is how a draw is checked). Leave it out for a fresh draw."New value: +"Optional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and idempotentHint=false. The description adds valuable context beyond those annotations: the result page shows the seed that reproduces the draw, and 'the answer is a drawstoday.com link where the result is shown; the answer itself carries no result.' That output behavior is not encoded in annotations or schema.

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?

The purpose and main modes are front-loaded, and every sentence carries useful information. The long parenthetical enumeration of game codes is dense but necessary for parameter clarity, so the definition is appropriately sized though not maximally crisp.

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 output schema, the description must explain the return behavior, and it does: the answer is a drawstoday.com link and the result page carries the seed. It also covers both game and custom modes, set limits, and seed-based reproduction. The main remaining gap is minimal guidance on error or fallback cases, but the core call semantics are complete.

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

Parameters4/5

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

Schema description coverage is 88%, so the baseline is 3. The description adds meaning by expanding every game enum code with its real-world lottery name and notes (e.g., 'megamillions (Mega Millions (USA, matrix since 2025-04-08))'), and by explaining the custom format fields (count, min, max, extra_count, extra_max) and seed reproducibility. That goes beyond the raw schema enum values.

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

Purpose4/5

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

The description states a specific action ('Random numbers for a lottery game') and resource, and mentions the 1-to-10 sets limit and named-game/custom modes. It does not explicitly contrast itself with siblings like check_ticket or get_draw, so it falls short of full sibling differentiation.

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

Usage Guidelines3/5

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

The description explains the two primary usage modes ('either name a game ... or give your own format with game "custom"'), which implies when each parameter path applies. However, it gives no explicit when-to-use guidance versus check_ticket, get_draw, or other siblings, and no exclusions or prerequisites are stated.

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