Skip to main content
Glama

Delete PDF pages

delete-pdf-pages

Remove unwanted pages from a PDF. Accepts pdf. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts pdf; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so safety is partly covered, but the description adds only 'Accepts pdf. Returns the result file.' It never says whether the original file is preserved, whether the output is a new file or a download link, or what happens if a requested page index is out of range.

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?

Three short, front-loaded sentences with the action first. 'Accepts pdf' is largely redundant with the schema's file constraints and item type, so a small amount of space is not earning its place.

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

Completeness3/5

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

For a one-required-parameter tool with a nested files object and no output schema, the description covers the input kind and that a result file is returned. It is still incomplete on the one thing that determines correctness: how to express which pages to delete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The declared schema coverage is 100%, but the critical `pages` option carries only a default of "" and no descriptive text anywhere — the accepted syntax (e.g. "1,3,5-7" vs "2-") is not specified in the schema or the description. Since page selection is the whole point of the tool, the description should have compensated here and does not.

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?

The description gives a specific verb and resource — remove pages from a PDF — which is clearly distinct from siblings like split-pdf, reorder-pdf and rotate-pdf. It does not explicitly name a sibling to contrast against, but the operation itself 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 Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as split-pdf (which can also drop pages by selecting a subset) or reorder-pdf. No prerequisites, no constraints on what kinds of PDFs are supported beyond the size limit already in the schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources