remove_pages
Delete the given pages from a PDF. Returns the remaining document as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF file, base64-encoded (max 10 MB) | |
| pages | Yes | Page list like "2, 5-7" (1-based) |
Delete the given pages from a PDF. Returns the remaining document as base64.
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF file, base64-encoded (max 10 MB) | |
| pages | Yes | Page list like "2, 5-7" (1-based) |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the burden. It does disclose the destructive nature ('Delete') and the output format ('Returns the remaining document as base64'), which is helpful. However, it does not mention edge cases like invalid page ranges, page ordering, or effect on PDF metadata.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads the primary action and includes the important return format. No filler or redundant words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple two-parameter tool and fully covered schema, the description covers the core operation and output. However, the lack of usage guidance, alternatives, or edge-case warnings leaves an agent uncertain about selection among sibling tools and behavior on invalid input.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both `file` and `pages`. The description adds no parameter-level detail beyond what the schema provides, matching the baseline for fully covered schemas.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Delete') and the resource ('the given pages from a PDF'), and even mentions the return format. However, it does not explicitly differentiate the operation from siblings like extract_pages or split_pdf, so it is clear but not fully distinguishing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus alternatives such as extract_pages, split_pdf, or rotate_pdf. The intended use is implied by the action, but there are no explicit conditions, exclusions, or comparisons with sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool targets a distinct PDF operation: page numbering, watermarking, flattening, metadata read/write, and various page selection/rearrangement tasks. Although extract_pages, remove_pages, and split_pdf all involve page ranges, their descriptions clearly differentiate extracting a subset, deleting a subset, and partitioning into multiple outputs.
All tool names follow a consistent verb_noun pattern in lowercase snake_case, such as add_page_numbers, get_pdf_metadata, merge_pdfs, and rotate_pdf. The pattern is predictable across the entire set, with no mixed conventions or vague verbs.
Ten tools is a well-scoped size for a PDF utility server. Each tool earns its place by covering a distinct common PDF manipulation task without redundancy or feature bloat.
The toolset covers core PDF operations: page extraction, removal, splitting, merging, rotation, watermarking, page numbering, flattening, and metadata read/write. Notable minor gaps include encryption/decryption and page reordering, but the provided surface handles most routine PDF workflows without dead ends.