Skip to main content
Glama

Reorder pages

reorder_pages

Free. Put a PDF's pages in a new order you give, every page exactly once. Reorder artifact_id's pages: order lists every page number exactly once, in the new order. Returns the new artifact_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderYes
artifact_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description adds useful context beyond the annotations by noting the operation is free, requiring order to list every page exactly once, and returning a new artifact_id. It does not clarify whether the original artifact is left unchanged or modified beyond the implication of a new artifact_id, but it does not contradict the annotations.

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?

The description is compact and front-loaded, with 'Free.' giving an immediate cost signal followed by two focused sentences. There is mild redundancy because the 'every page exactly once' constraint appears twice, but no meaningful information is buried.

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

Completeness4/5

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

For a simple two-parameter tool with an output schema and annotations, the description covers the core operation contract, validation constraint, and result. The main gaps are the lack of explicit sibling-tool guidance and the unspecified page-indexing convention.

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?

With 0% schema description coverage, the description carries the parameter burden and does give real meaning for order: it is the list of page numbers in the new order, requiring every page exactly once. It names artifact_id as the target, though it does not explicitly mention whether page numbers are zero- or one-based.

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 states a specific action and resource: reorder a PDF's pages into a new order supplied by the caller. It clearly communicates the full-permutation contract (every page exactly once), which semantically distinguishes it from sibling tools like rotate_pages or extract_pages, though it does not explicitly name an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated explicitly: use this when a PDF's pages need to be placed in a new custom order with every page included exactly once. It does not state when not to use it or point to alternatives such as compose_pdf, rotate_pages, extract_pages, or delete_pages.

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.