Skip to main content
Glama

gimp_export_image

Destructive

Export GIMP images to PNG, JPG, WebP, GIF, TIFF, BMP, or PDF by file extension. Set quality for JPG/WebP and flatten layers on a copy.

Instructions

Exporta la imagen al formato que indique la extensión (png, jpg, webp, gif, tif, bmp, pdf...).

quality (1-100) aplica a jpg/webp. flatten=True une las capas antes de exportar (sobre una copia, la imagen original no cambia).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
flattenNo
qualityNo
image_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare destructiveHint=true/readOnlyHint=false, and the description adds genuinely useful context beyond them: that the format is auto-detected from the extension, the quality scale (1-100) and which formats it applies to, and that flatten operates on a copy so the original image is untouched. It doesn't mention whether an existing file is overwritten, but the added behavioral detail is solid.

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, front-loaded with the core action and followed by the parameter-relevant details. The parenthetical format list is slightly long but functional; no wasted prose.

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?

An output schema exists, so return values need no explanation, and the mutation profile is covered by annotations. The remaining gap is image_id, which is undocumented in both schema and description, leaving the agent unsure how a target image is identified for a 4-parameter export tool.

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 description coverage is 0%, so the description must carry the load, and it documents three of four parameters well: path (format via extension), quality (1-100, jpg/webp), and flatten (joins layers on a copy). image_id is left entirely unexplained, which is the only meaningful 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 clear verb+resource ('Exporta la imagen') and specifies that the target format is inferred from the file extension, listing supported formats. However, it never distinguishes this from the closely related sibling gimp_save_image, so the agent must infer the export-vs-save boundary itself.

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?

The description explains mechanics (format by extension, quality range, flatten-on-copy) but gives no when-to-use guidance and never names an alternative. With gimp_save_image present as a near-twin sibling, the absence of routing guidance is a real gap.

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