Skip to main content
Glama

ddb_list_campaigns

Read-only

Lists the D&D Beyond campaigns you belong to as a Dungeon Master or player and returns them as JSON; log in first if needed.

Instructions

List all D&D Beyond campaigns you are part of (as DM or player), as JSON delimited in <untrusted_dndbeyond_content> tags (campaign and user names are other people's text). Requires login — run ddb_login first if you haven't already.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.10.2

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the return shape (JSON), the security wrapper convention (<untrusted_dndbeyond_content>), and the reason for it (campaign and user names are other people's text), plus the login dependency. These are exactly the operational details annotations cannot carry.

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?

Two sentences, both load-bearing: the first covers what is returned and in what form, the second covers the auth prerequisite. Front-loaded with the capability statement and free of filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-argument list tool with no output schema, the description covers everything an agent needs: the resource, the scope, the encoding, the untrusted-content wrapping, and the login requirement. Nothing material is missing.

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 no parameter documentation is needed; the description correctly says nothing about arguments and instead spends its words on output and prerequisites. Baseline 4 applies for a parameterless tool.

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 pairs a specific verb (List) with a specific resource (D&D Beyond campaigns) and adds a scope qualifier ('you are part of, as DM or player'), so an agent knows exactly what it returns. It stops short of naming the sibling ddb_get_campaign for single-campaign detail, leaving that distinction implicit in 'List all'.

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 supplies a clear prerequisite: 'Requires login — run ddb_login first if you haven't already', which routes the agent to a concrete sibling before calling. It does not state when to prefer or avoid this versus per-campaign retrieval tools like ddb_get_campaign, so there are no explicit exclusions.

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