Skip to main content
Glama

export_chapter_pdf

Export a chapter from BookStack to a PDF file by providing the chapter's ID or name.

Instructions

Export a chapter as a PDF file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chapter_idNoID of the chapter to export. Required if name is not provided.
nameNoName of the chapter to export. Required if chapter_id is not provided.
book_id_contextNoID of the book containing the chapter. Required if chapter_name is used.
book_name_contextNoName of the book containing the chapter. Required if chapter_name is used.
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states it exports a chapter as PDF, but does not disclose any behavioral traits such as whether it's read-only, what happens if chapter is missing, if permissions are needed, or if the generation is synchronous. The parameter complexity is not hinted at.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, no waste, but under-specified given the tool's complexity (4 parameters, two identification methods). Conciseness is achieved at the expense of completeness. A balanced structure would include more detail while remaining efficient.

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

Completeness1/5

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

The description is severely incomplete. No output schema exists, and the description does not explain what the tool returns (e.g., binary PDF data, URL, file path). No mention of parameter dependencies (e.g., chapter_name requires book context). The tool's complexity demands more context.

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?

Schema description coverage is 100%, so the schema already explains each parameter. The tool description adds no additional meaning beyond the schema. Baseline 3 is appropriate because the description does not degrade understanding, but it also does not enhance it.

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 clearly states the verb 'Export' and the resource 'chapter' with the specific format 'PDF'. It implicitly distinguishes from sibling tools like export_chapter_html, export_chapter_markdown, export_chapter_plaintext which target other formats.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives. Does not mention that it exports to PDF, that it requires chapter identification (by ID or name with book context), or any prerequisites. The description lacks context for proper selection.

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/Derron-Knox/bookstack-mcp-server'

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