Skip to main content
Glama

delete_pages

Удаляет указанные страницы из PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц для удаления (1-based).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesYes
file_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether the original file is modified in place or a new PDF is returned, whether the deletion is reversible, what the output is, or any permission/URL accessibility limits beyond a bare 'public URL' note. For a destructive mutation tool this is a substantial gap.

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?

Three short lines, front-loaded with the action, then one line per parameter. Nothing redundant and no filler.

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?

An output schema exists, so return values need not be explained, and both parameters are documented. However, for a destructive mutation with zero annotation coverage, key facts — whether the source file is overwritten, and how the result is delivered — are missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: file_url is defined as a public URL to the PDF and pages as a 1-based list of page numbers to delete. The 1-based indexing is genuinely useful information not present in the schema, though boundary behavior (out-of-range or duplicate indices) is unstated.

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: 'Удаляет указанные страницы из PDF' (deletes specified pages from a PDF). An agent can immediately tell this apart from extract_pages or reorder_pages by the destructive 'delete' verb, though the description never names or contrasts any sibling explicitly.

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 tool versus alternatives such as extract_pages (which keeps pages) or split_pdf, nor any prerequisites, exclusions, or ordering constraints. The agent must infer usage entirely from the name.

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.