Skip to main content
Glama

Images to PDF

images-to-pdf

Combine JPG, PNG and WebP images into one PDF. Accepts jpg, jpeg, png, webp, gif, tif, tiff, avif, svg. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts jpg, jpeg, png, webp, gif, tif, tiff, avif, svg; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish that this is not read-only, not destructive, and does not reach beyond the sandbox; the description adds "Returns the result file" but does not say what form that takes or what limits apply. The 50 MB total limit and the 1-50 item range already appear in the schema, so the description adds little behavioral context of its own.

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?

Three short sentences with the core action front-loaded and nothing superfluous. The format enumeration is slightly redundant with the schema, but it takes up little space.

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?

This file-producing tool has no output schema, and the description only says "Returns the result file" without saying whether the result is a link, an upload_id, or base64. That is the main gap for an agent trying to chain this tool into a pipeline; otherwise, coverage is adequate considering the rich input schema.

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%, with per-field docs on name, upload_id, content_base64, and the allowed formats and size limit. The description's format list largely repeats the schema's files description and adds nothing about the options object (margin, pageSize), so the baseline 3 is right.

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 uses a specific verb and resource ("Combine ... images into one PDF") and states what it returns, so it is clearly distinguishable from merge-pdf (PDFs) and convert-image (single-image format conversion). It never names those siblings explicitly, so differentiation comes from the wording rather than an explicit contrast.

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 description offers no when-to-use guidance, no condition for choosing this over convert-image or merge-pdf, and no prerequisites for the file inputs (for example, when to pass upload_id versus content_base64). Usage is only implied by the verb.

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