Skip to main content
Glama
PurpleDirective

quillpdf-mcp

Delete PDF pages

pdf_delete_pages

Delete specified pages from a PDF while keeping remaining pages in order. Specify page numbers or ranges and write the result locally—your file never leaves your machine.

Instructions

Remove the listed pages, keeping everything else in its current order. Runs entirely on this machine — the file is read and written locally and never sent anywhere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoReplace the output file if it already exists
inputYesPath to the input PDF
pagesYesPages to DELETE, 1-based. e.g. "2,5-7"
outputYesPath to write the result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the write/mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds genuinely new context: the file is read and written locally and never transmitted. It does not address overwrite/force behavior or what happens with out-of-range pages, but it materially enriches the safety picture beyond the annotations.

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, no filler, with the core operation front-loaded and the local-processing reassurance placed second. Every clause earns its place.

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?

No output schema exists, so the description needn't explain return values, and all four parameters are covered by the schema. The local-only guarantee rounds out the picture; only edge cases (invalid page numbers, overwrite resistance) are left undocumented, which is minor for a straightforward file transform.

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% — every parameter including the 1-based page-range syntax ('2,5-7') and the force overwrite flag is already documented in the schema. The description adds no parameter-level detail, so baseline 3 applies.

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?

States a specific verb and resource ('Remove the listed pages') and adds the ordering guarantee, which lets an agent distinguish it from pdf_split or pdf_organize. It stops short of explicitly naming a sibling alternative, but the operation is unambiguous.

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?

Usage is implied by the wording but there is no explicit when-to-use guidance or named alternative (e.g., pdf_split for extracting pages, pdf_organize for reordering). An agent must infer that this is the page-removal tool from name and description alone.

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