Skip to main content
Glama

Coolant

dice

Attested randomness from a CSPRNG outside you. Returns an integer in [1, max] (default 6), or a UUIDv4 when uuid is true. Signed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoUpper bound, inclusive. Default 6.
uuidNoReturn a UUIDv4 instead of an integer.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the randomness comes from a CSPRNG, is attested, and is signed, plus the exact return format. It doesn't mention potential error conditions or rate limits, but for a simple tool this is reasonable. It adds useful context beyond just 'returns a random number'.

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?

The description is extremely concise, consisting of two short sentences that pack essential information: the purpose, return types, default, and attestation. It front-loads the core function and wastes no words. This is an exemplary concise definition.

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?

Given the tool's simplicity (two optional parameters, no output schema, no annotations), the description covers all necessary aspects for an agent to call it correctly: what it returns, the default, and the signed nature. It doesn't elaborate on verification or edge cases, but those are not essential for basic usage. The description is adequately complete for an agent to understand the tool's behavior.

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?

The input schema already fully documents both parameters (max and uuid) with descriptions and defaults, so schema coverage is 100%. The description restates the default and return behavior but adds no new semantic meaning beyond what the schema provides. Thus a baseline score of 3 is appropriate.

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 clearly states the tool provides attested randomness from an external CSPRNG, which is a specific verb+resource. It also specifies the return type (integer or UUIDv4) and the default, making it distinct from any sibling tool. This is unambiguous and easy for an agent to understand.

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 implies usage context: it's for generating random numbers or UUIDs with attestation. While it doesn't explicitly name alternatives or exclusion criteria, none of the sibling tools appear to offer similar functionality, so the context is sufficient. However, it doesn't explicitly state 'use this when you need cryptographically secure randomness', which would be clearer guidance.

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