Skip to main content
Glama

dnd5e-roll-save

Roll D&D 5e saving throw. Use when resisting spells, traps, or effects. Results appear in Foundry chat. Use actor-list first to find actorId. Never both advantage and disadvantage (module 8.13+).

Input Schema

NameRequiredDescriptionDefault
abilityYesAbility code (str, dex, con, int, wis, cha)
actorIdYesActor ID (from actor-list/actor-filter)
advantageNo
disadvantageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / ability / description
      Previous value: -"Ability code: str=Strength, dex=Dexterity, con=Constitution, int=Intelligence, wis=Wisdom, cha=Charisma"New value: +"Ability code (str, dex, con, int, wis, cha)"
    • addedInput schema / properties / advantage
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / disadvantage
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is not read-only and not idempotent, but the description adds real value beyond them: the output destination ('Results appear in Foundry chat') and a validation constraint ('Never both advantage and disadvantage (module 8.13+)'). The prerequisite on actorId also flags a required lookup step. It stops short of describing what a save result contains or any failure modes.

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?

Four short, front-loaded sentences with zero filler: purpose, usage context, output location, prerequisite, constraint. Every sentence earns its place.

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?

With no output schema, the description usefully tells the agent where results surface (Foundry chat), covers the actorId prerequisite, and flags the advantage/disadvantage conflict. Complete enough to invoke correctly, though it leaves the mechanics of advantage/disadvantage and any error behavior unstated.

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 coverage is 50% – actorId and ability are documented in the schema, while the advantage/disadvantage booleans are bare. The description compensates with the mutual-exclusivity rule for those two flags, which is genuine semantic information, but it still doesn't explain what setting advantage=true actually does. Adequate but not full compensation.

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 and resource ('Roll D&D 5e saving throw') that cleanly separates it from the sibling roll tools (dnd5e-roll-ability, dnd5e-roll-skill, dnd5e-roll-attack, dnd5e-roll-damage). An agent can pick it out without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear usage context ('Use when resisting spells, traps, or effects') and a prerequisite ('Use actor-list first to find actorId'). It does not explicitly name the alternative tools or state when not to use it, but the resource is narrow enough that no exclusion is really needed.

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