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). The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.

Input Schema

NameRequiredDescriptionDefault
seedNoOptional. 64 hex characters. Give the seed shown on an earlier result page 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. Changed1 schema field changed
    • changedInput schema / properties / seed / description
      Previous value: -"Optional. 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."New value: +"Optional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw."
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The annotations cover the safety profile (readOnly, non-destructive, non-idempotent, closed-world), and the description adds the non-obvious part structured metadata cannot: the return value is a drawstoday.com link and the answer text contains no result. That is exactly the kind of surprise an agent needs disclosed before calling.

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 sentences, front-loaded with the core operation and constraints, then the return-format caveat. No filler; every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description supplies the missing return semantics (a link, no inline result) along with all parameter bounds an agent needs. Nothing essential to a correct call is absent.

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%, but the description compensates for the two undocumented parameters by stating count and sides ranges and the default six-sided die. Only seed has a schema description; the description doesn't restate it, which is fine.

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 gives a specific verb and resource (roll dice) and states the exact domain: 1-100 dice, 2-1000 sides, default one d6. This clearly separates it from flip_coin and random_integer in practice, but it doesn't name any sibling or draw an explicit boundary.

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?

Usage is implied by the rolling semantics, and the seed sentence explains that reproducing an earlier draw is how a draw is verified. However, that guidance duplicates the schema's seed description, and there is no explicit statement of when to prefer this tool over random_integer or flip_coin.

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