Skip to main content
Glama
WendongAI

1pdf

by WendongAI

webp_to_pdf

Convert WebP images into PDF pages for easy sharing and document creation.

Instructions

Convert a WebP image to a PDF page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute path to the PDF file
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?

No annotations are provided, so the description carries the full burden. It only states the core conversion without disclosing any side effects, file handling behavior, or limitations. For example, it doesn't mention whether the input file must exist, whether existing output files are overwritten, or any specifics about the PDF page generation.

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 concise sentence that immediately conveys the tool's purpose with no filler. It is well-structured and easy to read.

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 simple conversion tool, the description captures the essential action. However, given the lack of annotations and the presence of many sibling format converters, it could benefit from specifying the output behavior (e.g., single page PDF, default naming) or pointing to alternative tools for other formats. It is minimally adequate but has gaps.

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 coverage is 100%, but the schema's description of 'file' as 'Absolute path to the PDF file' is misleading given the tool converts WebP to PDF. The tool description's mention of 'a WebP image' implicitly clarifies the expected input, adding meaning beyond the schema. output_name is described adequately in the schema.

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 a specific verb ('Convert') and resource ('a WebP image') with the output being 'a PDF page'. This distinguishes it from sibling converters like png_to_pdf or jpg_to_pdf.

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?

Usage is implied by the name and description: use when you need to convert WebP to PDF. However, there is no explicit guidance on when to prefer this tool over sibling converters like image_to_pdf or other format-specific tools, nor any exclusions.

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