Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

quantize_pro

Snap pixel art to a chosen or generated palette using perceptual OKLab matching and optional ordered or error-diffusion dithering for clean sprites and gradients.

Instructions

Snap art onto a palette, perceptually, with optional dithering.

Nearest colour is chosen in OKLab (what looks closest, not what is numerically closest in RGB), so skin stays skin and shadows don't turn green. Dithering options for gradients and painted sources: none - clean flat colours (best for sprites) bayer2 / bayer4 / bayer8 - ordered patterns, the retro look, stable in animation floyd / atkinson - error diffusion, for converting painted or photo material (atkinson keeps more contrast); avoid on animation

The palette comes from palette, the sprite's own palette, a preset (gameboy, pico8, c64, cga, dawnbringer16, dawnbringer32, ...), or is built from the art itself with max_colors.

Args: filename: Aseprite file palette: Hex colours to snap to use_sprite_palette: Use the sprite's current palette preset: Name of a built-in palette preset max_colors: Build an optimal palette of this many colours from the art dither: none, bayer2, bayer4, bayer8, floyd, atkinson strength: Dither amount 0-1 layer_name: "*" = every image layer, or one layer frames: "" = every frame

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": {
      "filename": "<filename>"
    },
    "name": "quantize_pro"
  }
}

Input Schema

NameRequiredDescriptionDefault
ditherNonone
framesNo
presetNo
paletteNo
filenameYes
strengthNo
layer_nameNo*
max_colorsNo
use_sprite_paletteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add genuine behavioural context the schema cannot express: OKLab distance rather than RGB, and the stability/contrast tradeoffs of each dither mode. It is silent on the mutation profile an agent most needs for a write tool — whether the file is modified in place, whether changes are undoable, whether the sprite must be open, and whether the operation is expensive on large sprites.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The perceptual rationale is front-loaded and earns its place, but the definition repeats itself: the dither enum is fully listed in the prose block and then listed again in the Args block, and the Args block mostly restates schema property names plus their titles. Trimming the duplication would roughly halve the length with no loss.

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?

Nine parameters with zero schema coverage are all at least named and, in the important cases, exemplified, which is good for a tool of this complexity. Against that, there are no annotations and no output schema, and the description never says what the tool produces or how side effects land — the two gaps an agent needs closed before invoking a mutating image operation.

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 compensate, and it does: all nine parameters appear in the Args block, the six dither values are spelled out, example preset names are given (gameboy, pico8, c64, cga, dawnbringer16/32), and sentinel values are explained ('*' = every image layer, '' = every frame). It stops short of saying how palette, preset, use_sprite_palette and max_colors interact when several are set.

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 opening line gives a specific verb and resource ('Snap art onto a palette ... with optional dithering') and adds the key differentiator that colour matching is perceptual in OKLab rather than RGB. It does not, however, mention the obvious sibling 'quantize_to_palette', so an agent cannot tell from the definition alone which of the two to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Strong option-level guidance: each dither mode is annotated with when it fits (bayer for the retro look and animation stability, floyd/atkinson for painted or photo sources, 'avoid on animation'), and palette sources are enumerated. What is missing is tool-selection guidance against siblings such as quantize_to_palette or apply_palette_preset, and there is no statement of precedence when several palette sources are supplied at once.

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

Deploy Server

Other Tools