Skip to main content
Glama

Apdf — PDF Tracking & Analytics

Delete PDF Pages

delete-pdf-pages

Delete a subset of pages in a PDF and return the resulting PDF without those pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPublicly reachable URL of the PDF file to delete pages from.
asyncNoRun the action asynchronously and return a job id instead of the result. Poll "check-job-status" or set "webhook_url" to receive a callback.
pagesYesPage-range expression of pages to delete.
webhook_urlNoCallback URL invoked when an async job finishes. Only used when "async" is true.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

The annotation indicates destructiveHint=false, but the description says 'Delete a subset of pages', which implies modification. It does not clarify whether the original file is preserved or modified, nor does it explain behavior around async or job id return. The description adds minimal behavioral context beyond the annotation.

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?

A single concise sentence with no wasted words. However, it is extremely brief and could be expanded slightly to include usage guidance without harming conciseness.

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 the tool has 4 parameters and no output schema, the description is too short and does not cover key aspects like async behavior, return format, or page-range examples. It feels incomplete for an agent to use correctly without additional 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 the baseline is 3. The description adds no additional meaning to parameters beyond what the schema already provides. It does not explain the page-range expression format or provide examples.

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 clearly states the action ('Delete'), the resource ('a subset of pages in a PDF'), and the result ('return the resulting PDF without those pages'). It effectively distinguishes from sibling tools like 'extract-pdf-pages' and 'split-pdf-file' by focusing on removal rather than extraction or splitting.

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?

No guidance is provided on when to use this tool versus alternatives like 'extract-pdf-pages' or 'split-pdf-file'. There is no mention of prerequisites, context, or when not to use it, leaving an agent without decision support.

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