Skip to main content
Glama

cut_region

Copy a selected region of pixels into a named stamp and remove it from the layer, enabling reuse of the extracted content.

Instructions

Copy a region into a named stamp and clear it from the layer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clipNoSilently discard out-of-bounds pixels instead of rejecting (default false)
nameYes
frameNoFrame index, 0-based (default: active frame)
layerNoLayer id or name (default: active layer)
doc_idYesDocument id
regionYesRegion: exactly one of 'rect', 'pixels', or 'selection'
renderNoInclude a render of the change (default true)
ignore_symmetryNoSkip symmetry mirroring for this call (default false)
Behavior3/5

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

With no annotations, the description carries full burden. It discloses core behavior (copy and clear) but lacks details on side effects (e.g., overwriting existing stamps, undo behavior, error conditions). Adequate but not thorough.

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?

Single sentence, highly concise, front-loads the action. No wasted words.

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

Completeness2/5

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

Given the complex input schema (8 parameters, nested region object) and no output schema, the description is too minimal. Does not address optional parameters or return behavior, making it incomplete for full use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 88%, so most parameters already have descriptions. Description adds no additional parameter meaning beyond what's in the schema, meeting baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description uses specific verb and resource: 'Copy a region into a named stamp and clear it from the layer.' Clearly distinguishes from siblings like 'copy_region' (copy without clear) and 'clear_region' (clear without copy).

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 guidance on when to use this tool versus alternatives. Does not mention that it performs a cut-like operation or when to prefer it over separate copy and clear calls.

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

Install Server

Other Tools

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/ehm-93/pixel-mcp'

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