Skip to main content
Glama
ZeroTian

Aseprite MCP Tools

by ZeroTian

extract_palette

Extract an optimal palette from an RGB sprite via color quantization, limiting colors and controlling alpha inclusion, then write the palette to the sprite.

Instructions

Build an OPTIMAL palette from the sprite via native ColorQuantization.

True palette extraction (vs the nearest-snap quantize_to_palette): writes the resulting palette to the sprite and returns it. NOTE: mutates the sprite's palette. Sprite must be in RGB mode.

Args: filename: Aseprite file to modify max_colors: palette size cap, 1..256 (fewer if the art has fewer) with_alpha: include alpha when quantizing

Returns: JSON {colors: [#RRGGBB, ...], count}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
max_colorsNo
with_alphaNo
Behavior4/5

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

With no annotations, description carries full burden. Clearly states mutation ('writes the resulting palette to the sprite and returns it. NOTE: mutates the sprite's palette'), RGB mode requirement, and return format. Lacks error or edge-case details but covers core behavior.

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?

Concise, front-loaded with purpose, then differentiation, side effects, then args. Every sentence adds value. No redundancy.

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

Completeness4/5

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

Covers input parameters well, explains behavior (mutation, RGB mode), provides return format. No output schema, but return format given. Missing error handling or file existence info, but adequate for a 3-param tool.

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?

Schema coverage is 0% (no descriptions in schema). Description includes 'Args' section explaining each parameter: filename (Aseprite file to modify), max_colors (cap 1-256, fewer if art has fewer), with_alpha (include alpha). Adds meaning beyond schema titles and types.

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?

States 'Build an OPTIMAL palette from the sprite via native ColorQuantization.' Immediately contrasts with sibling quantize_to_palette, clarifying it does true extraction. Specifies it writes palette to sprite and returns it, with RGB mode requirement.

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?

Explicitly differentiates from quantize_to_palette (nearest-snap vs true extraction). Notes prerequisite (RGB mode) and that it mutates the sprite, implying usage when a new palette is needed. Could mention when not to use (e.g., read-only scenarios) but sufficient.

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/ZeroTian/aseprite-mcp'

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