Skip to main content
Glama

get_library_toc

Extract the hierarchical table of contents with page numbers and content types from PDF or Markdown sources in the DM20 Protocol library.

Instructions

Get the table of contents for a specific library source.

Returns the full hierarchical table of contents extracted from the PDF or Markdown source, with page numbers and content types.

Args: source_id: The source identifier (use list_library to see available sources)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_idYesThe source identifier (e.g., 'tome-of-heroes')
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/Polloinfilzato/dm20-protocol'

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