Skip to main content
Glama
gimp-mcp-studio
by Onru-Labs

save_xcf

Save the current GIMP image as an XCF file to preserve all layers and metadata, using an absolute output path and optional image index.

Instructions

Save the current image as a GIMP XCF file (preserves all layers and metadata).

Parameters:

  • file_path: Absolute path for the output .xcf file

  • image_index: Index of the image to save (default 0 = first open image)

Returns:

  • status: "success" or "error"

  • file_path: confirmed output path

Input Schema

NameRequiredDescriptionDefault
file_pathYes
image_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the return shape (status plus confirmed file_path) and the layer/metadata preservation property, which is genuine value. It leaves out whether an existing file at file_path is overwritten, whether the file must already exist, and whether errors are returned as status values rather than thrown.

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?

The purpose sentence is front-loaded and the parameter/return lists are compact and scannable. A little redundancy exists in restating parameters that the schema already names, but the added meaning justifies the space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter write tool with no output schema and no annotations, the description covers purpose, both parameters, and the return fields, which is close to sufficient. The remaining gap is destructive/overwrite semantics, which matters for a save operation that writes to a caller-specified path.

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 0%, so the description must compensate, and it does: it specifies file_path must be an absolute path ending in .xcf, and explains image_index as the index of the image to save with default 0 meaning the first open image. This resolves the main ambiguity (which image gets saved) that the bare schema leaves open.

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 states a specific verb and resource: 'Save the current image as a GIMP XCF file', plus the differentiating property that XCF 'preserves all layers and metadata'. That implicitly separates it from export_image and batch_export, which produce flattened output formats, though no sibling is named explicitly.

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 only implied by the format choice — a reader can infer XCF saving is for preserving editability while export_image is for delivery formats, but the description never states when to prefer this tool or when to use export_image instead. No prerequisites or exclusions are given.

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