Skip to main content
Glama

Lottery Number Generator

LotteryNumberGenerator
Read-only

Lottery Number Generator: Lottery Number Generator creates random lottery numbers for various popular games including Powerball, Mega Millions, EuroMillions, and custom lottery configurations. (Cost: 1 credit)

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

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum number for main numbers (for custom game)
gameNoLottery game presetcustom
bonusNoNumber of bonus numbers (for custom game)
numbersNoNumber of main numbers to pick (for custom game)
ticketsNoNumber of tickets to generate
bonusmaxNoHighest value a bonus ball can take. Only applies when game is custom; named games use their own rules

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact not present in structured fields: the operation costs 1 credit. It says nothing else about behavior (e.g. whether results are unique per call, whether presets override the custom parameters).

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 definition is short and the cost note is useful, but the opening repeats the tool title twice ('Lottery Number Generator: Lottery Number Generator creates...'), which is pure redundancy. The list of supported games could have been stated more compactly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations cover safety, so the description need not explain return values. However, it leaves open the key behavioral question of how named presets interact with the custom parameters (max, numbers, bonus, bonusmax) and does nothing to disambiguate from the 'LotteryNumbers' sibling, which is a real gap for a 6-parameter tool with zero required fields.

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%, with each parameter already documented, including the note that bonusmax only applies to custom games. The description adds no parameter-level meaning beyond what the schema states, so the baseline 3 for full schema coverage applies.

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 names a concrete verb ('creates random lottery numbers') and a concrete resource, and it enumerates supported presets (Powerball, Mega Millions, EuroMillions) plus a custom mode. It does not distinguish this tool from the closely named sibling 'LotteryNumbers', so an agent cannot be sure which of the two to pick without inspecting both.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of the near-duplicate sibling 'LotteryNumbers' that an agent would need to choose between. The only implicit guidance is that named games exist alongside 'custom lottery configurations', which is vague about which parameter set applies.

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.