Skip to main content
Glama

Fair Random

Roll dice

roll_dice
Read-only

Roll 1 to 100 dice with 2 to 1000 sides each (default one six-sided die).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoOptional. 64 hex characters. Give the seed of an earlier answer to get the same result again (that is how a draw is checked). Leave it out for a fresh draw.
countNo
sidesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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=false, so the safety profile is fully covered without the description. The description adds only the dice/sides ranges and default, which largely duplicate the schema's minimum/maximum/default values, so it earns a baseline 3 rather than more.

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?

A single front-loaded sentence with zero filler. Every clause (count range, sides range, default) carries information an agent needs, and nothing is repeated or padded.

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?

The tool is simple and the annotations cover safety, but there is no output schema and the description never says what a roll returns (e.g., a list of values) or how the seed maps to a reproducible result. For a tool with no output schema, the return shape is left for the agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% (only seed is documented in-schema), but the description compensates by conveying the meaningful ranges and default for count and sides: '1 to 100 dice with 2 to 1000 sides each (default one six-sided die).' Seed semantics are already well handled in the schema, so the combination leaves no parameter ambiguous.

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 (roll) and resource (dice) with concrete bounds: 1-100 dice, 2-1000 sides, default one six-sided die. That is enough to distinguish it from flip_coin, pick_from_list, and shuffle_list, though it never explicitly contrasts itself with the overlapping random_integer sibling.

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?

The description contains no when-to-use or when-not-to-use guidance and never names an alternative. An agent must infer from the name alone whether to reach for this tool versus random_integer or flip_coin; the seed reproducibility workflow is described only in the schema, not here.

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