Skip to main content
Glama

gimp_layer_mask

Add, apply, remove, enable, disable, show, or hide layer masks in GIMP with selectable mask types for non-destructive editing.

Instructions

Layer masks. action='add' with type selection|alpha|alpha-transfer|white|black|copy; 'apply' bakes the mask in; 'remove' discards it; 'enable'/'disable' toggle it; 'show'/'hide' preview it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoselection
actionNoadd
layer_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden, and it does well by stating outcomes: 'apply bakes the mask in', 'remove discards it', and enable/disable/show/hide are described as toggles or preview controls. It does not cover failure modes, permissions, or dependencies like whether an active selection is required for type='selection', so it is not a 5.

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 dense sentence with semicolon-separated clauses, each delivering a distinct operational fact without filler. It front-loads the resource name and packs the parameter behavior into a compact, scannable format.

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 small masking tool with an output schema, this description covers the operation space, the main parameter values, and key side effects. Missing explicit usage context and edge conditions, such as behavior when no selection exists, prevent it from being fully complete.

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%, but the description compensates by enumerating the valid action values and the add-type choices. layer_id is left implicit, though it is self-evident as the required target; the meaning of 'copy' and the source of 'selection' are not fully explained.

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 clearly identifies the resource (layer masks) and enumerates all supported operations with their action values. It does not use an explicit verb like 'manage' or 'modify', but the action list makes the tool's function apparent and distinguishes it from sibling tools by domain specificity.

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?

There is no explicit guidance on when to use this tool versus alternatives such as gimp_layer or gimp_layer_effect. The action descriptions imply usage scenarios, but the agent is not told what prerequisites exist or which situations call for this tool over nearby siblings.

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

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/SarutobiSasuke8/gimp-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server