Skip to main content
Glama

ddb_character_lookup

Read-only

Look up full descriptions of a D&D Beyond character's spells, feats, class features, traits, or equipped items by name, using partial or fuzzy matching.

Instructions

Look up the full description of a spell, feat, class feature, subclass feature, racial trait, background feature, or equipped item by name. Supports partial and fuzzy name matching (e.g. 'cutting' finds Cutting Words, 'sheild' finds Shield). Accepts either a numeric character_id or a character_name. Requires login — run ddb_login first if you haven't already. Each result carries a 'Rules:' line naming the entry's ruleset (a custom item reads 'custom item'); a list of matches tags each line instead, except custom items, which stay untagged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName to search for — partial match, e.g. 'hunter' finds Hunter's Mark
character_idNoThe D&D Beyond character ID
character_nameNoCharacter name (fuzzy matched against your account)

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?

Beyond readOnlyHint and openWorldHint, it discloses the auth prerequisite, the fuzzy/partial matching behavior, and two distinct result shapes (single description versus a tagged list of matches, with custom items exempt). With no output schema present, this return-shape detail is genuinely load-bearing; the only gap is what happens when nothing matches.

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?

Four sentences, front-loaded with purpose, followed by matching behavior, prerequisites, and return format — no filler. The final sentence about 'Rules:' tagging is dense and takes a read or two to parse, but every sentence carries information.

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 a read-only lookup with three flat parameters and no output schema, the description covers purpose, auth, matching semantics, and result shape. Only the no-match / multi-match disambiguation and the case where neither identifier is supplied are left implicit.

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; the description earns above that by clarifying that character_id and character_name are alternatives ('accepts either') and that the name is matched against your account holdings — relational info the schema doesn't convey.

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 opens with a specific verb ('Look up') and names the exact resource set it covers — spells, feats, class features, subclass features, racial traits, background features, equipped items — plus that it returns the 'full description' rather than a list. That separates it in spirit from the ddb_search_* siblings, though no sibling is named outright.

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?

Usage context is clear (retrieve full detail for a known entry name) and a hard prerequisite is stated: 'Requires login — run ddb_login first if you haven't already.' What's missing is explicit routing — it never says to use this after a search tool, or when a search tool would be better than a direct fuzzy lookup.

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