Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

image_to_pixel_art

Convert images into clean, true-grid pixel-art sprites. Detect real pixel grids from upscaled AI art or downsample photos, then reduce colors and add optional outlines.

Instructions

Convert an image into a clean, true-grid pixel-art sprite.

Handles three kinds of input:

  • Upscaled or AI-generated "pixel art" (blurry, off-grid pixels, many near-identical colours): the real pixel grid is detected and each cell becomes exactly one pixel.

  • A painting, photo or concept art: scaled down to width px, sampling each cell's median colour (no blur).

  • Either way the colours are reduced perceptually (OKLab k-means) to colors, or snapped to your palette/preset, stray pixels are cleaned and an optional outline is added. A flat background touching the image border is made transparent.

The result is a new .aseprite file, ready for critique_sprite and hand refinement (conversion is a starting point, not a finish).

Args: image_path: PNG/JPG/WebP/GIF to convert output_filename: .aseprite file to create width: Target width in px (0 = auto: the detected grid, else 64) colors: Palette size when no palette is given, 2-64 palette: Hex colours to snap to preset: Or a palette preset (pico8, dawnbringer32, gameboy, ...) dither: none, bayer2, bayer4, bayer8, floyd, atkinson remove_bg: Make a flat border-connected background transparent outline: "", "fixed" (near-black), "colored" or "selective" cleanup: Remove stray pixels after converting layer_name: Name of the layer in the new sprite

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": {
      "image_path": "<image_path>",
      "output_filename": "<output_filename>"
    },
    "name": "image_to_pixel_art"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
colorsNo
ditherNonone
presetNo
cleanupNo
outlineNo
paletteNo
remove_bgNo
image_pathYes
layer_nameNoart
output_filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Since no annotations exist, the description carries the full behavioral burden. It discloses specific techniques like OKLab k-means color reduction, the transparent background behavior, and the types of outlines that can be applied.

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?

The description is lengthy, which is necessitated by the tool's 11 complex parameters and 0% schema coverage. However, the structure uses bullet points effectively to compartmentalize different input types and processing steps.

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

Completeness5/5

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

Given the complexity of the operation—handling diverse input types, outputting a specific file format, and incorporating numerous stylistic controls—the description is exceptionally complete.

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

Parameters5/5

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

With 0% schema description coverage, the description must do all the work. It successfully defines parameters like `width` (where 0 equals auto-detection) and explains the functional difference between `colors` and `palette`.

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?

The description clearly states its purpose: 'Convert an image into a clean, true-grid pixel-art sprite.' It defines the output as a specific format (.aseprite file).

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?

It provides clear usage context by detailing three input handling modes (upscaled pixel art, painting, photo). It also sets expectations by stating the conversion is 'a starting point, not a finish.'

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