Skip to main content
Glama

ddb_rate_encounter

Read-only

Rate a D&D encounter's difficulty by XP budget. Supports 2024 XDMG (Low/Moderate/High) or 2014 DMG (Easy/Medium/Hard/Deadly), with automatic monster lookup or manual CR for homebrew.

Instructions

Rate the difficulty of a D&D encounter. Defaults to 2024 XDMG rules (Low/Moderate/High, no multiplier). Set rules_edition to '2014' for the classic DMG XP threshold method (Easy/Medium/Hard/Deadly with encounter multiplier). Monsters are looked up in the compendium automatically — supply 'cr' directly for homebrew.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
partyYesParty composition. Use multiple entries for mixed-level parties — e.g. [{count:3,level:5},{count:1,level:3}]
monstersYesMonsters in the encounter. Each entry needs at least a name or cr.
rules_editionNoRules edition. '2024' (default) uses XDMG XP budgets with Low/Moderate/High difficulty — no encounter multiplier. '2014' uses DMG XP thresholds with Easy/Medium/Hard/Deadly and a monster count multiplier.2024
Behavior4/5

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

The annotations (readOnlyHint: true, openWorldHint: true) already establish that this is a safe read-only operation. The description adds useful behavioral context beyond annotations: the automatic compendium lookup, the behavior change based on rules_edition, and the ability to supply 'cr' directly for homebrew. It does not disclose potential network calls or error handling, but the annotations lower the burden.

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?

The description is two sentences long, front-loaded with the core purpose, and every clause adds value: default edition, edition switching, and homebrew handling. No wasted words.

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?

The description covers the tool's main inputs, behavior, and output categories (Low/Moderate/High and Easy/Medium/Hard/Deadly) even though there is no output schema. It lacks details on potential failure modes (e.g., monster not found) but is otherwise complete for a lookup-based calculation tool with strong annotations.

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 the baseline is 3. The description mostly repeats information already in the schema: the 2024 vs 2014 behavior is in the rules_edition parameter description, and the 'cr for homebrew' note is in the cr field description. While it adds a brief clarification about automatic monster lookup, it does not significantly extend beyond the schema.

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?

The description clearly states the tool's purpose with a specific verb and resource: 'Rate the difficulty of a D&D encounter.' It also details the two rule editions (2024 and 2014). However, it does not explicitly distinguish this tool from the sibling tool 'ddb_encounter_cr', so it lacks explicit sibling differentiation.

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?

The description provides clear guidelines on when to use each edition: 'Defaults to 2024 XDMG rules' and 'Set rules_edition to 2014 for the classic DMG XP threshold method.' It also explains how to handle homebrew monsters via the 'cr' parameter. It does not mention alternatives or when not to use the tool, so it stops short of a 5.

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/iamjameslennon/ddb-mcp'

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