Skip to main content
Glama

Reorder PDF pages

reorder-pdf

Sort the pages of a PDF: move, repeat or reverse them. 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

B3.2/5.0
Behavior3/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 the safety profile is covered; the description adds that a result file is returned, which is useful. It does not say whether the source file is left intact, whether the operation fails on out-of-range page indices, or how duplicates ('repeat') are handled.

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?

Two short sentences with the capability front-loaded and no filler. The second sentence about input/output is minimal but earns its place; slightly more detail on the order format would have been a better use of the same space.

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 nested-options, file-producing tool with no output schema, the description covers input type and return value but omits the semantics of the custom ordering string and the meaning of 'rest' (append vs drop), which an agent cannot call this tool correctly without.

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 coverage is reported at 100% for the top-level properties, so the baseline is 3, and 'move, repeat or reverse' loosely foreshadows the mode/order/rest options. However, the critical 'order' string (default empty) has no syntax documented in either the schema or the description, leaving the most important parameter unexplained.

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 ('Sort the pages of a PDF') plus the concrete operations (move, repeat, reverse), which implicitly separates it from rotate-pdf, crop-pdf, and delete-pdf-pages. It doesn't explicitly name a sibling, so it stays just short of a 5.

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 on when to pick this over rotate-pdf or delete-pdf-pages, no prerequisites, and no explanation of when to choose 'reverse' mode versus 'custom' with an order string. The agent must infer everything from the title and 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