Skip to main content
Glama

ddb_get_campaign

Read-only

Retrieve campaign details and player characters from D&D Beyond by providing the campaign ID. Requires a prior login.

Instructions

Fetch campaign information including player characters from a D&D Beyond campaign. Requires login — run ddb_login first if you haven't already.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesThe D&D Beyond campaign ID (found in the campaign URL)
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, signaling a safe read operation. The description adds a behavioral requirement: the need for login, which is valuable context not present in annotations. No contradictions.

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-sentence description, front-loaded with the main purpose and followed by a necessary prerequisite. No fluff.

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?

The tool is simple (1 parameter, no output schema) and annotated as read-only/open-world. The description covers what the tool does, what it returns (campaign info and player characters), and the login prerequisite. This is sufficient for an agent to invoke it correctly.

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?

The input schema fully documents the single parameter campaign_id with a description ('The D&D Beyond campaign ID (found in the campaign URL)'), achieving 100% schema coverage. The description adds no additional parameter details beyond what the schema provides.

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 verb 'Fetch' and the resource 'campaign information including player characters'. It is specific to a single campaign by ID (implied by the parameter), but does not explicitly differentiate from sibling tools like ddb_list_campaigns or ddb_get_party.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an explicit prerequisite: 'Requires login — run ddb_login first if you haven't already.' However, it does not mention when to use this tool over alternatives (e.g., ddb_list_campaigns, ddb_get_party), so usage context is implied rather than explicit.

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