Skip to main content
Glama

ddb_list_library

Read-only

Lists all books and sourcebooks in your D&D Beyond library, each tagged by edition. Requires login first; shows exactly which titles you own.

Instructions

List all books and sourcebooks you own in your D&D Beyond library. Requires login — run ddb_login first if you haven't already. Each book carries an edition tag ([2024], [2014], …).

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_list_library"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.10.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds genuinely new behavioral context: an authentication dependency with a specific fallback tool, plus the fact that results are annotated with edition tags ([2024], [2014]), which tells the agent how to interpret and disambiguate returned items.

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?

Three short sentences with no waste: purpose first, prerequisite second, output detail last. The most actionable constraint (login) is front-loaded right after the purpose, and the edition-tag note is a compact, useful trailing hint.

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 zero-parameter read tool with no output schema, the description covers what it returns (owned books/sourcebooks), the auth precondition, and an output-format hint. Only minor gaps remain, such as whether results are paginated or cached, which are low-stakes for this operation.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond what the empty schema already shows. Baseline applies, and the description adds no misleading parameter-like expectations.

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?

States a specific verb and resource with scope: 'List all books and sourcebooks you own in your D&D Beyond library.' This is clearly distinct from content-search siblings like ddb_search_* or ddb_read_book, but the description never names an alternative, so the differentiation is implicit rather than explicit.

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 concrete prerequisite and the exact remedy: 'Requires login — run ddb_login first if you haven't already,' which routes the agent to the right sibling when unauthenticated. It stops short of stating when-not to use this versus reading or searching content, so no exclusions are covered.

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