Skip to main content
Glama

Images To Pdf

images_to_pdf
Idempotent

Combine multiple images into one multi-page PDF. Choose page size, order, and output filename.

Instructions

Combine multiple images into one multi-page PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenamesNoOptional filenames matching files_base64, with extensions.
page_sizeNoPage size: fit, A4, or letter.fit
output_nameNoName for the output PDF.images.pdf
source_urlsNoPublic image URLs to combine into a multi-page PDF, in order.
files_base64NoBase64-encoded image files to combine, in order.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

A3.7/5.0
Behavior3/5

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

Annotations include idempotentHint=true, which implies repeated calls produce the same result, and openWorldHint=true, suggesting unknown inputs may be accepted. The description does not contradict these but also does not add behavioral context beyond them. It doesn't disclose, for example, that it creates a new file, whether it overwrites existing files, what happens if no images are provided, or memory/performance constraints. With annotations present, the bar is lower, and the description adds no extra behavioral depth.

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 sentence with zero waste. It is front-loaded with the core action and resource. Every word contributes to understanding the tool's purpose. No redundancy or filler.

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?

The tool has an output schema (not shown but implied by context signal), multiple input sources, and no required parameters. The description is minimal and relies heavily on the schema. It does not explain key ambiguities: what happens if both files_base64 and source_urls are provided, whether filenames are optional overrides, or how page_size 'fit' behaves. For a 5-parameter tool with 0 required params, the description could provide more operational context, though the output schema may cover return details.

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%, so the schema already documents every parameter (filenames, page_size, output_name, source_urls, files_base64). The description does not add meaning beyond what the schema provides. It doesn't clarify relationships between parameters, order of precedence, or constraints like whether filenames must match files_base64 indices, which is only hinted in the schema. Baseline 3 is appropriate because the schema carries the heavy lifting.

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 (Combine) and the resources (multiple images into one multi-page PDF). It is specific and immediately distinguishes it from siblings like merge_pdfs (which combines PDFs) and compress_image/resize_image (which work on single images). The verb 'Combine' plus object 'images' and result 'multi-page PDF' leaves no ambiguity.

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

Usage Guidelines3/5

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

The description says what the tool does but provides no guidance on when to use it instead of alternatives. It does not mention that it accepts base64 or URLs as inputs, nor when one input source might be preferred over another. Sibling tools like merge_pdfs are clearly different but not referenced. The usage context is implied from the name and schema but not explicitly stated.

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