Skip to main content
Glama

roll-table-create

Create a roll table: a dice formula plus result entries with ranges, e.g. formula "1d6" with six results [1,1] … [6,6].

Input Schema

NameRequiredDescriptionDefault
imgNoTable icon path
nameYesTable name
folderNoFolder ID to place table in
formulaNoDice formula, default "1d20"
resultsNoResult entries
descriptionNoHTML description of the table
displayRollNoShow roll in Foundry chat (default: true)
replacementNotrue = results can repeat (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / formula / description
      Previous value: -"Dice formula (e.g., \"1d6\", \"1d100\", \"2d6\"). Default: \"1d20\""New value: +"Dice formula, default \"1d20\""
    • changedInput schema / properties / replacement / description
      Previous value: -"Draw with replacement? true = results can repeat (default: true)"New value: +"true = results can repeat (default true)"
    • changedInput schema / properties / results / description
      Previous value: -"Array of result entries with text, range [low, high], optional weight"New value: +"Result entries"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-destructive, non-idempotent, closed-world creation operation. The description adds the table's conceptual structure but does not mention persistence, permission/GM requirements, duplicate-name behavior, or what is returned after creation.

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 a compact example; no wasted wording. It communicates the core concept quickly.

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?

For an 8-parameter create tool with full schema descriptions and safety annotations, the description covers the core concept and a representative example. It does not cover optional fields or creation results, but those gaps are largely handled by the schema and the absence of an output schema.

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 100%, so parameter meaning is already documented in the input schema. The description's 1d6/[1,1]...[6,6] example clarifies how formula and result ranges relate, but it does not add syntax or constraints beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Create) and resource (roll table) and explains the core composition as a dice formula plus result entries, which distinguishes it from roll-table-roll/update/delete siblings. The example further clarifies what a created table looks like.

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?

The creation intent is clear, but the description does not explicitly say when to use this versus roll-table-update, roll-table-roll, or other table tools, nor does it note prerequisites or exclusions. Usage is implied by the tool name and create verb.

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