Skip to main content
Glama
Aseprite Studio MCP

Aseprite Studio MCP

by Irmiyaa

edit_region

Move, copy, or erase rectangular pixel regions, or remove all pixels matching a chosen color, across Aseprite layers and frames.

Instructions

Move, copy, or erase rectangular pixel regions, or erase all pixels matching a color.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>",
      "action": "<action>"
    },
    "name": "edit_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
dxNoRelative X delta (for move/copy).
dyNoRelative Y delta (for move/copy).
toXNoAbsolute destination X (for move/copy).
toYNoAbsolute destination Y (for move/copy).
fileYes
colorNoFor erase_color: color to erase.
frameNo
layerNoTarget layer ('*' allowed for erase_color).
widthNo
actionYes
heightNo
previewNoReturn an inline PNG preview in the same Aseprite call (true or options object).
toFrameNoDestination frame(s) (for copy).
toLayerNoDestination layer (for copy).
fromFrameNoSource frame (for copy).
fromLayerNoSource layer (for copy).
overwriteNoFor copy: also overwrite destination with transparent pixels.
toleranceNoFor erase_color: channel tolerance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a 20-parameter mutating tool, and it says nothing about what happens to pixels at the source or destination, whether copy uses overwrite semantics, whether operations are undoable, or that an inline PNG preview can be requested. The only disclosure is the mode list, which largely restates the action enum.

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?

A single front-loaded sentence with no filler or redundancy; it is efficient. Its brevity, however, reflects under-specification rather than economy of thought.

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

Completeness1/5

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

For a 20-parameter, four-mode pixel-mutation tool with no annotations and no output schema, one sentence is grossly inadequate. An agent cannot determine required parameter combinations per action, coordinate system expectations, or side effects from this definition.

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

Parameters2/5

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

Schema coverage is middling at 65%, and the description contributes no parameter meaning at all: it never explains that move/copy select between dx/dy and toX/toY, that fromLayer/fromFrame/toLayer/toFrame only apply to copy, or that tolerance and layer='*' only apply to erase_color. The schema documents some parameters but not the action-conditional applicability that an agent most needs.

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 names concrete verbs and a concrete resource: move, copy, or erase rectangular pixel regions, plus a color-matching erase mode. It distinguishes the tool from draw/fill siblings reasonably well, though the color-erase clause brings it close to replace_color without saying how they differ.

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 guidance about when to pick move versus copy versus erase, what preconditions are needed (source layer/frame must exist?), or which sibling to use for the color-erase case instead of replace_color. The agent must infer all routing from the name and enum alone.

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