Skip to main content
Glama

Set For Life number generator

hopi_set_for_life_generator
Read-onlyIdempotent

Generate random UK Set For Life lines. Each line has 5 main numbers from 1 to 47 (unique, sorted low to high) plus one Life Ball from 1 to 10, drawn with cryptographic randomness. Draws are Monday and Thursday; the top prize is £10,000 a month for 30 years at odds of 1 in 15,339,390. Source: https://hopi.co.uk/set-for-life-generator/

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": "hopi_set_for_life_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoHow many lines to generate, 1 to 10 (default 1)

Output Schema

NameRequiredDescriptionDefault
gameNo
linesNo
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
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "game": {
      +      "type": "string"
      +    },
      +    "lines": {
      +      "type": "array"
      +    },
      +    "source_url": {
      +      "description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source_url",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover readOnly/non-destructive, and the description adds real value beyond them: cryptographic randomness, uniqueness and sorted ordering of the main numbers, and the fixed number ranges. One tension is left unresolved — it says draws are cryptographically random, yet idempotentHint=true could lead an agent to expect repeat calls to return the same lines.

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?

Three compact sentences, with the core behaviour and number format front-loaded. The prize odds, draw days and source URL are context rather than instruction, but they are brief and do not bury the actionable content.

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 one-parameter generator with an output schema and full annotation coverage, the definition supplies everything needed to call it correctly: what is generated, the exact ranges, and the randomness guarantee. The only missing piece is a steer toward sibling lottery generators for other games.

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 coverage is 100% and the single 'lines' parameter (1-10, default 1) is fully documented in the schema, so the description need not restate it. The description's use of 'Each line has...' at least confirms the output shape per line, but adds no constraint information beyond the schema.

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 a specific verb and resource — 'Generate random UK Set For Life lines' — and then pins down the exact format (5 main numbers 1-47 unique/sorted, plus a Life Ball 1-10). The game name alone separates it from the sibling Euromillions, Thunderball and generic lottery generators.

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?

Usage is only implied by the tool's purpose; there is no explicit 'use this when...' or a named alternative for other lotteries. The draw-day and prize details give flavour but do not help an agent choose this tool over hopi_euromillions_generator or hopi_lottery_number_generator.

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