Skip to main content
Glama

pdfedit-mcp

Render a PDF page

pdf_preview
Read-onlyIdempotent

Render one page of a PDF as a PNG image block, optionally cropped to region and with rectangles drawn over highlight. Use it to see a page before editing it, or to check the result afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesThe PDF: an absolute (or ~) local path, which this server uploads for you, an https:// URL the API fetches, or an `f_…` file id from an earlier call.
pageNo(default: 1)
scaleNo(default: 2)
regionNo
passwordNo
highlightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds the return format ("PNG image block") and crop/highlight rendering behavior, which is useful, but says nothing about password-protected handling, scale implications, or page limits beyond what the schema implies.

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?

Two tight sentences, front-loaded with the verb and resource before the optional features and usage note. No wasted words.

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?

With no output schema and 6 parameters at 50% description coverage, the description should do more: the password parameter is unmentioned and the region/highlight formats are unexplained. It adequately conveys purpose and usage but leaves real gaps for an agent calling it.

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 50%; region and highlight have no schema descriptions, and the description names both with their semantic role (crop region, drawn rectangles). However it omits coordinate format for region/highlight and never mentions the password parameter, so it only partly compensates.

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 gives a specific verb (Render), resource (one page of a PDF), and output format (PNG image block). Its purpose is clearly distinct from the edit/find/job/batch siblings, though it never names them explicitly to sharpen the contrast.

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

Usage Guidelines4/5

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

"Use it to see a page before editing it, or to check the result afterwards" supplies concrete when-to-use context and implicitly positions it against pdf_edit in a workflow. It stops short of naming alternatives or stating exclusions, so it lands just below the top band.

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.