Skip to main content
Glama

Random number generator

hopi_random_number_generator
Read-onlyIdempotent

Generate one or more random whole numbers within a range (inclusive), optionally with no repeats. Returns the numbers as a list. Source: https://hopi.co.uk/random-number-generator/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxYesHighest possible number (inclusive)
minYesLowest possible number (inclusive)
uniqueNoIf true, no number repeats (default false)
quantityNoHow many numbers to generate, 1 to 1000 (default 1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxYes
minYes
uniqueYes
numbersYes
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: +[
      +  "max",
      +  "min",
      +  "numbers",
      +  "source_url",
      +  "summary",
      +  "unique"
      +]
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false, idempotentHint=true), and the description adds the useful fact that values are random whole numbers with optional uniqueness and a list result. It does not describe edge cases such as unique=true when the requested quantity exceeds the available range, so it is adequate but not rich.

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?

Two substantive sentences communicate core behavior and return shape, and the source URL is a minimal one-line addition. There is no repetition or filler.

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 straightforward generator, the description plus the output schema and annotations cover what an agent needs to invoke it correctly. The only minor gap is guidance around conflicting quantity/unique combinations, and that does not significantly hurt usability.

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%, so the parameters are already documented. The description reiterates inclusivity, whole-number output, and uniqueness, which maps to min/max/unique/quantity but adds little 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?

The description uses a specific verb and resource: 'Generate one or more random whole numbers within a range', with explicit inclusivity, uniqueness option, and list return. This clearly distinguishes it from sibling random generators such as hopi_random_letter_generator or hopi_dice_roller without needing to inspect their schemas.

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 gives a clear context for use: any time random integers are needed in a specified range, optionally without repeats. It does not explicitly name alternatives or exclusion conditions, so it falls short of a full 5, but the behavior is specific enough for an agent to select it competently.

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