Skip to main content
Glama

pdf_to_png

Конвертирует страницы PDF в PNG (без потерь, для схем и скриншотов). Результат — ZIP-архив. file_url: публичный URL PDF-файла. dpi: 72 | 150 (по умолчанию) | 300.

Input Schema

NameRequiredDescriptionDefault
dpiNo
file_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that output is a ZIP archive and that conversion is lossless, but omits any information on permissions, page/size limits, or error behavior for what is effectively a file-conversion operation.

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?

Three short, front-loaded lines – purpose first, then the two parameters – with no wasted prose. Efficient for a simple conversion tool.

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?

Parameters and the ZIP output are covered, and an output schema exists so return values needn't be detailed. What's missing is differentiation from pdf_to_jpg and any operational caveats, leaving a small gap for a tool in a crowded conversion family.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it defines file_url as a public URL to the PDF and enumerates dpi as 72/150/300 with 150 as default. This adds real meaning the bare schema lacks, though it doesn't explain the file_url format/constraints in depth.

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+resource (converts PDF pages to PNG) and adds useful qualifiers ('lossless', for schemas/screenshots). It does not, however, distinguish itself from the sibling pdf_to_jpg, leaving the agent to infer why PNG rather than JPG.

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?

The parenthetical 'for schemas and screenshots' hints at an intended use case but gives no explicit when-to-use/when-not guidance and never references the obvious alternative pdf_to_jpg. The agent must infer the choice between the two image-export tools.

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.