Skip to main content
Glama

Lottery number generator

hopi_lottery_number_generator
Read-onlyIdempotent

Generate random lines for a UK lottery game: Lotto (6 numbers from 1 to 59), Thunderball (5 from 1 to 39 plus a Thunderball from 1 to 14) or Set For Life (5 from 1 to 47 plus a Life Ball from 1 to 10). Source: https://hopi.co.uk/lottery-number-generator/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameNoWhich game to play (default lotto)lotto
linesNoHow many lines to generate, 1 to 10 (default 1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameYes
linesYes
summaryYes
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / required
      Added value: +[
      +  "game",
      +  "lines",
      +  "source_url",
      +  "summary"
      +]
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds the source URL and the game-specific number ranges, which is useful context. However, it doesn't disclose whether the output is sorted, whether lines are unique, or the exact output format—though the output schema likely covers that.

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?

A single, information-dense sentence that front-loads the verb and resource, then packs the three game variants and their ranges. The source URL is appended without disrupting readability. No wasted words.

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 simple, read-only generator with two optional parameters and a full output schema, the description is nearly complete. It explains what each game entails and the number ranges. The only minor gap is not stating the output format (e.g., array of lines), but the output schema likely covers that, and the tool is simple enough that an agent can infer it.

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 schema already documents both parameters ('game' and 'lines') with enums, defaults, and ranges. The description adds the game-specific number ranges (e.g., Lotto 6 from 1 to 59), which enriches the 'game' parameter meaning beyond the schema. This is a solid baseline 3 with slight added value.

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 states a specific verb ('Generate') and resource ('random lines for a UK lottery game'), and enumerates the three supported games with their exact number ranges. This clearly distinguishes it from sibling generators like hopi_euromillions_generator and hopi_random_number_generator.

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?

The description clearly implies when to use this tool: when generating UK lottery lines for Lotto, Thunderball, or Set For Life. It doesn't explicitly exclude alternatives like hopi_euromillions_generator, but the game-specific detail makes the intended use obvious. A brief mention of when not to use it (e.g., for EuroMillions) would push this to a 5.

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