Skip to main content
Glama
vandewilly

MCP Dice Roller

by vandewilly

roll_dice

Roll dice using standard notation (e.g., '2d6', '1d20+5') with support for modifiers and keep-highest/lowest mechanics for tabletop gaming.

Instructions

Roll dice using standard dice notation (e.g., '2d6', '1d20+5', '3d8-2').

Args: notation: Dice notation string. Examples: - '1d6' - Roll one 6-sided die - '2d6' - Roll two 6-sided dice - '1d20+5' - Roll one 20-sided die and add 5 - '3d8-2' - Roll three 8-sided dice and subtract 2 - '4d6kh3' - Roll 4d6, keep highest 3 (D&D stat rolling) - '2d20kl1' - Roll 2d20, keep lowest 1 (disadvantage)

Returns: Dictionary with rolls, modifier, and total

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notationNo1d6
Behavior2/5

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

No annotations provided, so description carries full burden. Only states it rolls dice and returns a dictionary. Does not disclose side effects, idempotency, or error handling. A simple roll operation, but lacks transparency on edge cases (e.g., invalid 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?

Description is clear and well-structured with summary, Args, and Returns sections. Every sentence adds value, no fluff. Efficiently conveys purpose and param usage.

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 a simple tool with one param and no output schema, the description is fairly complete. It covers notation, examples, and return structure. Could mention error handling but acceptable for this tool.

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?

Input schema has 1 param 'notation' with 0% description coverage. Description compensates with detailed examples covering various use cases (keep highest, disadvantage). Adds meaning beyond schema, though does not explain default value or validation rules.

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?

Clearly states verb 'Roll' and resource 'dice' with standard dice notation. Examples clarify scope but no explicit differentiation from sibling tools like roll_dnd_stats, which also uses similar notation. Still, the purpose is well-defined.

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?

Describes how to use the tool (dice notation) but provides no guidance on when to choose this tool over siblings like roll_dnd_stats, roll_multiple, or roll_percentile. No exclusions or alternatives mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vandewilly/mcp-dice-roller'

If you have feedback or need assistance with the MCP directory API, please join our Discord server