Skip to main content
Glama
safayet9009

FastMCP Demo Server

by safayet9009

Roll Dice

roll_dice

Simulate rolling one or more six-sided dice and return the results. Set n_dice to choose how many dice are thrown.

Instructions

Roll n_dice 6-sided dice and return the results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
n_diceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the disclosure burden. It does reveal the die type (6-sided) and that results are returned, but says nothing about randomness/non-determinism, value range (1-6), or any upper bound on n_dice.

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?

One front-loaded sentence with zero filler; the action and scope come before any qualifying detail.

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?

An output schema exists, so return formatting need not be described, and the description covers purpose and the sole parameter. Only minor gaps remain (default value, dice-count limits).

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 0%, so the description must compensate, and it does implicitly define n_dice as the number of dice to roll. It omits the default of 1 and any valid range, though the core semantics of the single parameter are conveyed.

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) plus resource (dice) and scope (6-sided, count n_dice), so the agent knows exactly what happens. It does not need to differentiate from add_numbers since the domains are unrelated, but it also makes no explicit sibling contrast.

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 rather than stated: nothing tells the agent when to prefer this over alternatives or any preconditions, but for a trivial RNG utility the intent ('need random dice') is self-evident from the sentence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools