Skip to main content
Glama
Aseprite Studio MCP

Aseprite Studio MCP

by Irmiyaa

replace_color

Swap one color for another across a single layer or all layers and selected frames in Aseprite, with optional tolerance and inline PNG preview.

Instructions

Swap one color for another across a single layer or all layers ('*') and chosen frames.

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>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "replace_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fileYes
fromYes
frameNoFrame(s) (default 'all').
layerNoLayer name/path, or '*' / omitted for all editable layers.
previewNoReturn an inline PNG preview in the same Aseprite call (true or options object).
toleranceNo

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?

With no annotations supplied, the description carries the full behavioral burden and discloses little: nothing about whether the edit is destructive or undoable, whether an open document/session is required, or how tolerance affects matching. For a mutation tool that rewrites pixels in place, that is a meaningful gap.

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 and the scope qualifiers appended logically. It is efficient, though it is lean enough that the remaining ambiguity is a content problem rather than a length problem.

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?

Seven parameters, low schema coverage, no annotations, and no output schema leave the description far too thin for the complexity involved. An agent would not know the accepted color formats, the effect of tolerance, or what a preview response contains before committing a pixel-level mutation.

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 description coverage is only 43%, so the description must compensate and does not. It only restates the layer/frame scoping already documented in the schema, and adds nothing about whether 'from'/'to' are palette indices or hex strings, what tolerance means, or what the 'preview' object returns.

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?

States a specific verb and resource ("Swap one color for another") plus the scope it operates over (single layer, all layers via '*', chosen frames). An agent can tell this is a color-substitution operation rather than a drawing or palette-management call, though no sibling is named to sharpen the boundary.

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?

The description describes the operation but gives no when-to-use/when-not-to-use guidance and never contrasts itself with plausible alternatives like fill_area, draw_pixels, or manage_palette. The '*' and frame notes are scope hints, not selection criteria for choosing this tool over another.

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