Skip to main content
Glama
This connector has been deprecated

This service has been retired and the endpoint is no longer available.

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. For a named game, put in what your user said (keep, leave_out, date, odd, sum_min, sum_max, text): the page shows every way at once, those filled. The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pick_numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNocustom: the largest number.
minNocustom: the smallest number.
oddNoNamed game: how many odd numbers per line (the balanced way).
dateNoNamed game: a date that matters to your user, YYYY-MM-DD; its day and month go into the line (the date way).
gameNoA game, or "custom" with count and max. May be left out when count and max are given.
keepNoNamed game: numbers your user wants in every line. The page shows them drawn as the number-board way.
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
textNoNamed game: your user's own words (a wish, a name, a dream). The page has them written in; prismtect.com draws numbers from them when your user presses send there.
countNocustom: how many numbers per set.
sum_maxNoNamed game: the largest sum of a line (the balanced way).
sum_minNoNamed game: the smallest sum of a line (the balanced way).
extra_maxNocustom: the largest extra number (extras start at 1).
leave_outNoNamed game: numbers your user wants left out (the number-board way).
extra_countNocustom: how many extra (bonus) numbers, drawn apart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Named game: a date that matters to your user, YYYY-MM-DD; its day and month go into the line (the date way).",
      +  "type": "string"
      +}
    • addedInput schema / properties / keep
      Added value: +{
      +  "description": "Named game: numbers your user wants in every line. The page shows them drawn as the number-board way.",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "maxItems": 14,
      +  "type": "array"
      +}
    • addedInput schema / properties / leave_out
      Added value: +{
      +  "description": "Named game: numbers your user wants left out (the number-board way).",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "maxItems": 70,
      +  "type": "array"
      +}
    • addedInput schema / properties / odd
      Added value: +{
      +  "description": "Named game: how many odd numbers per line (the balanced way).",
      +  "maximum": 20,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / sum_max
      Added value: +{
      +  "description": "Named game: the largest sum of a line (the balanced way).",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / sum_min
      Added value: +{
      +  "description": "Named game: the smallest sum of a line (the balanced way).",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Named game: your user's own words (a wish, a name, a dream). The page has them written in; prismtect.com draws numbers from them when your user presses send there.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
  2. 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."
  3. 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"
      +]
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, non-destructive, non-idempotent, closed-world), and the description adds genuinely non-obvious behavior: the answer is only a drawstoday.com link and carries no result, the page displays a reproducing seed, and named-game filters are all rendered simultaneously on that page. That is real context beyond the annotations, though it doesn't explain set-level randomization or any limits.

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

Conciseness3/5

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

The purpose is front-loaded, but the middle is a single run-on sentence with a fourteen-item game enumeration, and the closing sentences are dense and semi-colon chained. Nearly every clause carries information, yet the structure makes it harder to parse than it needs to be.

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 a 15-parameter tool with no output schema, the description does the essential work: it explains both modes, which parameters belong to which, and critically that the return value is a link rather than the numbers themselves. Minor gaps remain (e.g., how `sets` interacts with named games), but nothing blocking is missing.

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 93% schema coverage the baseline is 3, but the description earns more by grouping parameters into the two modes (keep/leave_out/date/odd/sum_min/sum_max/text for named games; count/min/max/extra_count/extra_max for custom) and by explaining that `text` is written on the page and later drawn from at prismtect.com. That is meaning the schema descriptions alone don't convey.

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?

Opens with a specific verb+resource: random numbers for a lottery game, with a set-count bound. The two operating modes (named game vs. "custom") are spelled out, and the game list adds human-readable labels the enum lacks. It stops short of distinguishing itself from siblings like prismtect_number or sentence_numbers_link, which also appear to produce numbers.

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?

Guidance is implied through mode selection (name a game, or use "custom" with count/min/max) and the seed note for reproducing a prior draw, but there is no explicit when-to-use/when-not, and no routing to check_ticket or get_draw for verification. An agent can infer the usage but must reason about sibling overlap itself.

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