Skip to main content
Glama

Dice roller and odds

dice_roller

Roll tabletop dice from notation like 2d6+3 or 4d6kh3 (keep highest), with repeatable seeds, plus the exact probability distribution of a roll. Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
seedNo
timesNo
notationYese.g. 1d20+5, 2d6, 4d6kh3

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?

No annotations are provided, so the description carries the full burden. It does disclose two valuable behaviors the schema cannot express: seed-based reproducibility and a per-call cost of 1 credit. However, it says nothing about determinism guarantees, batching behavior for multiple rolls, or failure modes for malformed notation.

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?

A single front-loaded sentence that opens with the core action and notation formats, with the pricing caveat tacked on at the end where it is easy to find. Slightly overloaded by bundling the probability-distribution capability into the same clause, but no wasted words.

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 annotations and no output schema, the description should describe what comes back. It names the probability distribution as an output but not the shape of a repeated-roll result or how multiple rolls are returned, and the batching parameter is left ambiguous.

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 only 33% (only notation is documented in-schema), so the description must compensate. It clarifies that seeds give repeatable results, which adds real meaning beyond the bare 'seed' field, but it leaves 'times' (number of rolls, default 1, max 100) entirely unexplained in either place.

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 (tabletop dice) and pins down the notation grammar with concrete examples (2d6+3, 4d6kh3) plus the extra probability-distribution output. It is unambiguously about dice math, but it never distinguishes itself from the nearest sibling, loot_table, which an agent could plausibly confuse for tabletop randomness.

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 only implied: the notation examples and the mention of repeatable seeds hint at how to call it, but there is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives such as loot_table for item generation.

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.