Skip to main content
Glama

pdf_insert_pages

Insert pages from one PDF into another at a specified position to add cover pages, appendices, or mid-document content.

Instructions

Insert pages from one PDF into another at a specific position. Useful for adding cover pages, appendices, or inserting content mid-document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputPathYesOutput path
sourcePathYesPDF to take pages from
targetPathYesPDF to insert pages into
insertAfterYesInsert after this page number (0 = insert at beginning, use page count for end)
sourcePagesNoWhich pages to take from source (1-indexed). Omit for all source pages.
Behavior2/5

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

No annotations provided; description carries full burden. Does not disclose if originals are modified, required permissions, or error behavior. The outputPath parameter implies a new file is created, but this is not explicitly stated.

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

Conciseness4/5

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

Two sentences: first defines action, second provides usage examples. No fluff, well-structured, and front-loaded.

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

Completeness2/5

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

Given 5 parameters and no output schema or annotations, the description is too brief. Missing details on optional parameters (sourcePages) and return value. Schema descriptions help but the description should offer 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 baseline is 3. Description adds no additional semantic detail beyond the schema; it only lists use cases without explaining parameters further.

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?

Description clearly states verb (insert), resource (pages from one PDF into another), and position. Provides use cases like cover pages and appendices. Does not explicitly distinguish from siblings like pdf_merge or pdf_extract_pages, but the positional aspect is implied.

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?

Description offers clear context with examples of when to use (cover pages, appendices, mid-document insertion). Does not specify when not to use or mention alternative tools like pdf_merge for simple appending.

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/beepboop2025/pdf-suite-mcp'

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