Skip to main content
Glama

book_content_get

Fetch D&D 5e sourcebook or adventure content by source abbreviation. Drill down from table of contents to a specific section or subsection to retrieve only the text you need.

Instructions

Get content from a D&D 5e sourcebook or adventure by source abbreviation (e.g. SCC, EGW, PHB). Uses a drill-down navigation model to minimise token usage — fetch only what you need:

  1. Omit section → returns top-level section/chapter names (TOC).

  2. Provide section only → if the section has subsections, returns their names; if it is a leaf (no subsections), returns its full text.

  3. Provide section + subsection → returns the rendered text of just that subsection.

  4. Not found → returns an error and the available names at that level. Supports book sources (PHB, DMG, SCC, EGW…) and adventure content (SCC-CK, COS…). Section and subsection filters are case-insensitive substring matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource abbreviation for the book or adventure (e.g. 'SCC', 'EGW', 'SCC-CK'). Case-insensitive.
rulesetNoWhich ruleset to use. Omit to use the configured default ("2024"); pass "2014" to override.2024
sectionNoTop-level section or chapter name (case-insensitive substring match). Omit to get a table of contents.
subsectionNoNamed subsection within the matched section (case-insensitive substring match). Requires section to be set. Returns rendered text of just this subsection.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full disclosure burden and handles it well. It discloses branch-dependent return behavior (TOC, subsection names, leaf text, subsection text), not-found error behavior with available names, and case-insensitive substring matching. The read-only nature is strongly implied by 'Get content' and the navigation model.

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?

The description is front-loaded with purpose and then uses a compact numbered list to explain each drill-down level. Every sentence earns its place, and the structure makes conditional behavior easy for an agent to parse and act on.

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?

Given no output schema and no annotations, this description is effectively complete for invocation: it tells the agent what to pass, in what combinations, what responses to expect at each level, and what happens on not-found. It covers both book and adventure content; a pointer to list_sources for valid abbreviations would be a minor enhancement, not a real gap.

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?

Input schema coverage is 100%, so the baseline is 3. The description adds meaningful navigation semantics beyond the schema: it clarifies the relationship between section and subsection, explains what omission produces, and defines leaf behavior. It does not add detail about the ruleset parameter, but the schema already documents that fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Get content'), a specific resource ('D&D 5e sourcebook or adventure'), and a clear addressing mechanism (source abbreviation). The drill-down navigation model further distinguishes this tool from metadata/search siblings like book_get, book_search, and funnctionally related content tools.

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?

The numbered list provides explicit conditional usage guidance: omit section for TOC, provide section only for subsection names or leaf text, and provide section+subsection for a specific rendered subsection. It does not explicitly name alternatives or exclusion cases relative to siblings such as fetch_content or book_get, so it falls short of a 5.

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

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/jazzsequence/5eMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server