Skip to main content
Glama

TrueRandomness

Random integer

random_int
Read-only

Return a uniformly distributed random integer in [min, max], derived from a signature-verified drand quicknet beacon mixed with a server secret and, when a public KiwiSDR receiver delivers one, a hash of live HF atmospheric noise. The response carries the drand round, the beacon signature, a per-request nonce, a commitment hash binding them to the value, a URL where the round can be re-verified, and a physical block stating whether noise went in and from where. Free and rate-limited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoInclusive upper bound. Integer. Defaults to 100.
minNoInclusive lower bound. Integer. Defaults to 1.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNo
minNo
errorNo
valueNo
statusYes
provenanceNo
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint; the description goes well beyond by disclosing the randomness provenance (drand quicknet beacon, server secret, optional HF noise), rate limiting, and verifiability of the round. It does not state failure modes when the beacon or receiver is unavailable, which is the one meaningful gap.

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?

Front-loaded with the core action, then provenance, then constraints in one dense but coherent sentence. The enumeration of response fields (round, signature, nonce, commitment, URL, physical block) is partly redundant given an output schema exists, which is the only bloat.

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?

With an output schema present, return-value detail is not required, and the description still supplies the provenance, verification path, and rate-limit context an agent needs. Only the absence of sibling differentiation keeps it short of complete.

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%, and the schema already documents both min and max as inclusive integer bounds with defaults, so the description's '[min, max]' phrasing adds nothing new. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource with precise scope: 'Return a uniformly distributed random integer in [min, max]'. It also explains the entropy source, which distinguishes it substantively from a plain RNG. However, it never names or contrasts with its sibling random_int_signed, so the agent must infer which to pick.

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?

'Free and rate-limited' gives an implied usage constraint (cost and throttling), which is more than nothing. But there is no explicit when-to-use, when-not-to-use, or routing to random_int_signed/status, so the agent is left to guess between the two integer tools.

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