Skip to main content
Glama
WendongAI

1pdf

by WendongAI

image_to_pdf

Combine JPG/PNG images into a multi-page PDF.

Instructions

Convert one or more images (JPG/PNG) into a multi-page PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesArray of absolute paths to image files (JPG or PNG)
page_sizeNoPage size: "fit" = match image, "a4", or "letter" (default: fit)
output_nameNoOutput file path (defaults to same dir with suffix)
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It only states the basic conversion action and does not mention critical details such as whether output files will be overwritten, the order of images in the PDF, error handling for invalid files, or what the function returns upon success. This is insufficient for an agent to fully anticipate the tool's behavior.

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, well-structured sentence that immediately conveys the tool's purpose. There is no redundant or irrelevant information, and it is appropriately concise for such a straightforward 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?

The tool is relatively simple and the schema covers all parameters, but the description lacks some important contextual details: it does not explain what the tool returns (e.g., the output file path) or any side effects like file overwriting. Given the absence of an output schema, such information would improve completeness. The description also does not mention that multiple images are combined in the order they appear in the input array.

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 input schema already documents all three parameters adequately. The description adds minimal meaning beyond the schema by mentioning JPG/PNG, which aligns with the 'files' parameter, but it does not provide any extra context for page_size or output_name beyond what the schema already specifies.

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 clearly states the tool's function: converting one or more JPG/PNG images into a multi-page PDF. It uses a specific verb and resource, making the purpose obvious. However, it does not explicitly differentiate itself from sibling tools like jpg_to_pdf or png_to_pdf, which are also present in the tool list.

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 usage context is implied by the name and description (use when you need to combine images into a PDF), but there is no explicit guidance on when to choose this tool over the more specific jpg_to_pdf, png_to_pdf, or other conversion tools. No exclusions or alternative recommendations are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WendongAI/onepdf-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server