Skip to main content
Glama

Combine Images into Multi-Page PDF

pdf_images_to_pdf

Convert local PNG, JPEG, WebP, or TIFF images into A4, letter, or native-size PDFs offline while keeping files on disk; the free tier supports up to 3 images.

Instructions

Convert 1 or more local PNG, JPEG, WebP, or TIFF images into a clean A4 or native-size PDF completely offline. Free tier supports up to 3 images; ThisMyOwn PRO unlocks unlimited images.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputPaths": "<inputPaths>"
    },
    "name": "pdf_images_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
marginPtNo
pageSizeNo"a4" or "letter" centers and scales image cleanly; "fit" matches image dimensionsa4
inputPathsYesOrdered array of local image file paths
outputPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3/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 and does contribute real behavior: processing is 'completely offline' (no upload), and there is a hard free-tier cap of 3 images with PRO lifting it. It omits other behavioral facts the agent needs for a file-writing tool: whether outputPath is optional and where the PDF lands by default, whether an existing file is overwritten, and how unsupported or missing inputs are reported.

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?

Two tight sentences with the capability front-loaded and the quota constraint second; no filler. The trailing PRO mention borders on promotional but still encodes a real limit an agent should know.

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?

For a 4-parameter, mutation-style tool with no annotations and no output schema, the description covers formats, page sizing, offline processing, and a quota but leaves output location, overwrite semantics, and error behavior undocumented. Adequate as a minimum, but the file-writing side is under-explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and marginPt and outputPath have no description at all in either schema or prose. The description partially reinforces pageSize ('A4 or native-size', omitting the 'letter' enum value) but says nothing about margins, output destination, or how multiple images map to page order — so it does not compensate for the coverage gap.

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 concrete verb and resource ('Convert ... images into a ... PDF') and names the accepted input formats (PNG, JPEG, WebP, TIFF), which distinguishes it from pdf_text_to_pdf and the image_* utilities. It stops just short of naming a sibling or stating an explicit boundary, so sibling differentiation is inferred rather than declared.

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?

There is no when-to-use or when-not-to-use guidance: nothing tells the agent to prefer this over image_batch_process, image_compress_convert, or pdf_text_to_pdf, nor what prerequisites exist (image must already exist locally). 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.