Skip to main content
Glama

Convert Image Format

convert_image

Convert images to JPG, WebP, or PNG formats and receive a downloadable URL for the converted file.

Instructions

Convert an image to JPG, WebP, or PNG format. Returns the converted image as a downloadable URL.

Input Schema

NameRequiredDescriptionDefault
formatYes
qualityNo
image_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare non-read-only, open-world, non-idempotent, non-destructive, so the safety profile is covered. The description usefully adds that the result is returned as a downloadable URL rather than inline bytes, but says nothing about whether the converted file is persisted, whether repeated calls create duplicates, or any cost/latency implications.

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 action and output front-loaded and no padding. It is arguably too short rather than verbose, but nothing is wasted.

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?

No output schema exists, and the description does cover the return (downloadable URL), which is the most important gap filled. However, with three undocumented parameters, no input constraints, and no mention of persistence or cost, an agent lacks enough to invoke it confidently beyond the happy path.

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 description coverage is 0%, so the description carries full burden, yet it never mentions the 'quality' parameter (default 90) or its valid range, nor what form image_url must take. Only the format enum is discoverable from the schema itself; the description adds nothing about any of the three parameters.

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?

Specific verb + resource ('Convert an image') with the target formats enumerated, which cleanly separates it from siblings like edit_image, upload_photo, and download_visual. It omits 'jpeg' though the schema enum accepts it, a small inconsistency an agent could trip on.

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?

No indication of when to prefer this over edit_image, export_visuals, or download_visual, and no preconditions (e.g., whether the source image must be hosted/accessible, or whether conversion consumes credits per the check_credits sibling). The agent must infer usage entirely.

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