Skip to main content
Glama

EasyPDF

Rotate PDF

rotate_pdf
Idempotent

Rotate all pages, or selected pages, of a PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesThe PDF to rotate.
angleYes90, 180 or 270 degrees (clockwise).
pagesNoOptional 1-indexed page numbers to rotate; omit to rotate every page.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds that rotation applies to all or selected pages, and the schema clarifies angle values. It doesn't add much behavioral context beyond the annotations, but it doesn't contradict them either.

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 a single, concise sentence that front-loads the core action and scope. It earns its place without redundancy, though it could add a bit more context about output or usage.

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?

The tool has an output schema and 100% schema coverage, so the description doesn't need to explain return values. However, it doesn't mention any prerequisites (e.g., file must be a valid PDF) or edge cases (e.g., invalid page numbers), which could be useful for an agent.

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 schema already documents all parameters. The description adds minimal extra meaning beyond the schema, but the schema's descriptions are sufficient. Baseline 3 is appropriate.

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 clear verb ('rotate') and resource ('a PDF'), and specifies the scope ('all pages, or selected pages'). It distinguishes itself from siblings like extract_pages or split_pdf by focusing on rotation, though it doesn't explicitly name a sibling 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?

The description implies usage context: use when pages need to be rotated, with optional page selection. It doesn't explicitly state when not to use it or name alternatives, but the sibling list and the description's scope make the intended use reasonably clear.

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