Skip to main content
Glama

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 answer has the seed that reproduces it.

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 of an earlier answer 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 / game / enum
      Previous value: -[
      -  "kr645",
      -  "powerball",
      -  "megamillions",
      -  "euromillions",
      -  "uk_lotto",
      -  "jp_loto6",
      -  "jp_loto7",
      -  "custom"
      -]New value: +[
      +  "kr645",
      +  "powerball",
      +  "megamillions",
      +  "euromillions",
      +  "uk_lotto",
      +  "jp_loto6",
      +  "jp_loto7",
      +  "thunderball",
      +  "set_for_life",
      +  "fr_loto",
      +  "br_megasena",
      +  "br_lotofacil",
      +  "br_quina",
      +  "br_maismilionaria",
      +  "custom"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, openWorldHint=false, and idempotentHint=false, so the safety profile is covered. The description adds meaningful behavior beyond the schema: the returned answer carries a seed that reproduces the draw, which tells the agent how verification works. It doesn't describe the response shape further, but the annotations lower that burden.

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 structure is front-loaded: core purpose first, then the game list, then the custom alternative and seed note. The long inline game enumeration is dense but each entry carries real information. Slightly verbose but nothing is truly wasted.

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?

For an 8-parameter tool with no output schema, the description covers both operating modes, the reproducibility mechanism, and the game catalog. An agent could invoke it correctly from this alone. Minor gaps remain around the exact returned structure beyond the seed.

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?

With 88% schema coverage the baseline is 3, but the description adds value by expanding the bare enum values into human-readable game names ('kr645 (Lotto 6/45 (South Korea))') and explaining that extras are drawn 'apart' as bonus balls. The sets range (1 to 10) and custom-format semantics are also restated usefully.

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 concrete outcome — random numbers for a lottery game — and enumerates the supported games plus a custom format. The purpose is unmistakable. It stops short of naming which sibling (e.g. check_ticket, get_draw) is the alternative, so sibling differentiation is only implied by 'random' vs. checking/drawing.

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?

It clearly lays out the two usage modes: name a predefined game, or use game "custom" with count/min/max/extra_count. The seed parameter is explained with its use case ('that is how a draw is checked'). It lacks explicit when-not-to-use guidance relative to check_ticket or get_draw.

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