Skip to main content
Glama

gimp_transform_layer

Scale, rotate, flip, move, center, or fit a GIMP layer to image bounds, using pixels, percentages, degrees, and absolute coordinates.

Instructions

Transforma una capa: escalar (px o %), rotar (grados, sentido horario, sobre su centro), voltear, mover a x/y absolutos (esquina superior izquierda), centrar en la imagen (align), o ajustar el tamaño del borde de la capa al de la imagen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flipNonone
alignNonone
move_xNo
move_yNo
image_idNo
layer_idNo
scale_widthNo
scale_heightNo
scale_percentNo
rotate_degreesNo
layer_to_image_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-destructive, non-open-world operation, so the safety profile is covered. The description adds useful geometric context such as clockwise rotation around the layer center and absolute top-left positioning, but it omits side effects, prerequisites, and whether layer/image IDs are required.

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 definition is a single front-loaded sentence that enumerates the supported transformations without filler. Each clause adds a distinct operation or geometric detail, so no sentence feels 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?

For an 11-parameter mutation tool with no output schema and 0% schema description coverage, the description covers the main transformation operations but omits critical context such as image_id/layer_id usage, whether at least one parameter must be supplied, and default behaviors. It is minimally adequate but has clear gaps given the tool's complexity.

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 parameter meaning, and it does map most operations to parameters: scaling in px or %, rotation in degrees around center, flipping, absolute x/y movement, centering/alignment, and resizing the layer border to the image. It leaves image_id and layer_id unexplained and does not clarify defaults or parameter interactions, so it is not fully complete.

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 ('Transforma una capa') and enumerates the supported transformations, so the tool's purpose is clear. It does not explicitly differentiate itself from siblings such as gimp_scale_image, gimp_rotate_flip_image, or gimp_set_layer, so it falls short of a 5.

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?

It lists what operations are available but gives no guidance on when to use this tool versus alternatives like gimp_set_layer or gimp_scale_image. There are no exclusions, prerequisites, or conditions that would help an agent choose correctly.

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