Skip to main content
Glama

pdf_split

Idempotent

Extract specific pages from PDF files to create new documents. Specify page ranges or individual pages to split PDFs into focused sections.

Instructions

Extract specific pages from a PDF into a new file. Warning: form fields in the source PDF are not preserved — they appear visually but become non-interactive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to the source PDF file
pagesYesPage range to extract, e.g. '1-5' or '1,3,5'
outputPathYesAbsolute path for the output PDF
Behavior4/5

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

The annotations indicate non-destructive write operations (readOnlyHint: false, destructiveHint: false, idempotentHint: true). The description adds crucial behavioral context not found in annotations: form fields become non-interactive in the output, which is a significant side effect that would surprise users if omitted.

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 total. The first sentence front-loads the core purpose. The second sentence delivers a high-value warning without fluff. Every word earns its place; no redundant explanation of parameters already covered by the schema.

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

Completeness4/5

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

For a three-parameter file generation tool, the description covers the critical functional gap (form field behavior) that annotations miss. However, without an output schema, it could briefly indicate what success returns (e.g., confirmation of the output file path) to be fully complete.

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?

With 100% schema description coverage, the schema fully documents all three parameters (filePath, pages, outputPath). The description implicitly aligns with these ('specific pages' references the pages parameter, 'new file' references outputPath) but does not add syntax details, format specifications, or examples beyond what the schema provides, warranting the baseline score.

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 uses specific verbs ('Extract') and identifies the exact resource ('specific pages from a PDF') and outcome ('into a new file'). It clearly distinguishes this tool from siblings like pdf_merge (combining), pdf_rotate_pages (rotating), or pdf_extract_text (text extraction).

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 a critical warning about form field preservation, implying when NOT to use the tool (when interactivity must be preserved). However, it lacks explicit guidance on when to choose this over siblings like pdf_reorder_pages or pdf_merge, and doesn't state prerequisites like file existence.

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/AryanBV/pdf-toolkit-mcp'

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