Skip to main content
Glama

Lookup Kit

random_number

Read-only

Random number generator, true random integers in a range. Fair random whole numbers between min and max (inclusive), from a cryptographic random source. count up to 100. Price: $0.001 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
maxNo
minNo
countNo

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 and openWorldHint=false, so safety is covered. The description nonetheless adds genuinely useful behavior: cryptographic randomness quality, inclusive min/max semantics, a count ceiling, and a paid x402/USDC cost model — but it says nothing about the return shape when count > 1 or failure modes (e.g., invalid bounds).

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 core purpose is front-loaded, but the first two sentences are largely redundant ('Random number generator, true random integers' followed by 'Fair random whole numbers'). Trimming one would sharpen it without losing information.

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?

With no output schema and three undocumented parameters, the description should say what is returned, especially whether count>1 yields a list. It covers cost and randomness source well but leaves the return contract and default behavior to inference.

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 0%, so the description must carry the load. It does clarify that min and max are inclusive and that count is capped at 100, which is real added meaning, but it omits defaults (min=1, max=100, count=1) and the valid integer range limits already in the schema.

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 states a specific verb and resource: generating random integers within a range, and adds that it is a cryptographic/true random source. It is clear what the tool produces, though it does not explicitly separate itself from near-siblings like random_pick or dice_roll.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only usage-shaped information is the 'count up to 100' cap and the per-call price, which an agent must infer usage from rather than being told directly.

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