Skip to main content
Glama
adamdavis99

ilovepdf-mcp

by adamdavis99

rotate-pdf

Rotate all pages in a PDF by 0, 90, 180, or 270 degrees to correct orientation or adjust layout. Provide the file and rotation angle, with optional output settings.

Instructions

Rotate all pages in a PDF document by a specified angle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPDF file path or URL to rotate
rotationYesRotation angle in degrees (0, 90, 180, or 270)
outputDirNoOutput directory path
outputFilenameNoCustom output filename
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It does not state whether the original file is modified or a new file is created, does not clarify clockwise vs counterclockwise direction, and does not mention error handling or limitations. It only states the basic operation.

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?

The description is a single, front-loaded sentence that directly states the tool's purpose. Every word earns its place with no repetition or fluff.

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 that there is no output schema and no annotations, the description should explain what the tool returns or produces. It does not mention output behavior (e.g., whether it returns a file path, whether it overwrites), the direction of rotation, or any side effects. This is a significant gap for a tool with 4 parameters.

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?

The input schema already describes all four parameters with meaningful details (file path/URL, rotation angle in degrees with allowed values, output directory, custom filename). The description adds no parameter-level information beyond what the schema provides, so the baseline 3 is appropriate.

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 ('rotate'), the target resource ('all pages in a PDF document'), and the modifier ('by a specified angle'). It is specific and distinct from sibling tools like merge-pdfs or split-pdfs.

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. It does not mention that it only rotates all pages (no page ranges) or whether it overlaps with edit-pdf. No alternatives or exclusions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamdavis99/ilovepdf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server