Skip to main content
Glama

ddb_get_character

Read-only

Retrieve and display a D&D Beyond character sheet by ID or name, returning only the sections you need—summary, combat, spells, inventory, features, concentration, or notes—to reduce output.

Instructions

Parse and display a character sheet. Use sections to reduce output: summary (vitals+stats), combat (adds actions/weapons), spells (spellcasting only), inventory, features, concentration, notes (backstory, traits, bonds), or full (default). Requires login — run ddb_login first if you haven't already. The 'Rules:' line under the character's name gives the ruleset of the character's classes and lists content from other rulesets; that content is also tagged inline ([2014], [2024], [homebrew], …).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ddb_get_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionsNoWhich sections to return. Default: full. Use summary for a quick overview.full
character_idNoThe D&D Beyond character ID (e.g. '12345678')
character_nameNoCharacter name to look up (fuzzy matched — e.g. 'Throin' finds 'Thorin Ironforge')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.10.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint, openWorldHint), and the description adds genuinely new context: an authentication prerequisite, a way to control output volume via sections, and the inline ruleset tagging convention ([2014], [2024], [homebrew]) that affects how results must be interpreted. It does not describe pagination or failure behavior when a character is not found, keeping it below a 5.

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?

The core action and the section vocabulary are front-loaded in the first sentence, and the login prerequisite follows immediately. The closing ruleset sentence is dense but carries information the agent would otherwise have to discover from output, so it earns its place despite its length.

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 carries the burden of explaining returns, and the section breakdown does that adequately along with auth and the ruleset-tagging convention. The notable gap is that both lookup parameters are optional with no stated fallback when neither is provided.

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 100%, so the baseline is 3, but the description earns more by explaining what each enum value actually contains (summary = vitals+stats, combat adds actions/weapons, notes = backstory/traits/bonds), which the bare enum does not. The lookup parameters character_id and character_name are left to the schema, including the unstated question of what happens when neither is supplied.

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?

"Parse and display a character sheet" gives a specific verb pair and a clear resource, and the section list scopes exactly what gets returned. It does not explicitly contrast itself with ddb_get_character_raw or ddb_character_lookup, so an agent must infer that this is the formatted/parsed variant rather than the raw dump.

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?

It tells the agent to use sections to reduce output and maps each section to its contents, which is real when-to-use guidance for a verbose tool. It also names the prerequisite tool (ddb_login) with a clear trigger condition, though it gives no exclusion guidance versus the raw/lookup siblings.

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