Skip to main content
Glama
ZeroTian

Aseprite MCP Tools

by ZeroTian

apply_dither_gradient

Fill a rectangle with a two-color gradient using Bayer 4x4 ordered dithering, blending colors without intermediate hues. Supports top-to-bottom or left-to-right direction.

Instructions

Fill a rectangle with a two-color gradient using Bayer 4x4 ordered dithering.

This is the classic pixel-art way to blend two colors without introducing new intermediate colors. The gradient runs from color_start (top/left) to color_end (bottom/right).

Args: filename: Aseprite file to modify layer_name: Layer to draw on frame_index: Frame index starting at 1 x: Left edge of the rectangle y: Top edge of the rectangle width: Rectangle width height: Rectangle height color_start: Hex color at the start of the gradient color_end: Hex color at the end of the gradient horizontal: Run the gradient left-to-right instead of top-to-bottom create_if_missing: Create the cel if it does not exist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
layer_nameYes
frame_indexYes
xYes
yYes
widthYes
heightYes
color_startYes
color_endYes
horizontalNo
create_if_missingNo
Behavior4/5

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

With no annotations, the description bears full transparency burden. It discloses the Bayer dithering algorithm, gradient direction (top-left to bottom-right, configurable to horizontal), and parameter defaults. It does not mention side effects (overwrites existing content) or performance, but the core behavior is well explained.

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 front-loaded with a clear summary, followed by a structured Args list. Every sentence adds value. Slightly verbose in the Args list but well-organized and easy to parse. Minor redundancy: 'This is the classic pixel-art way' repeats the technique context.

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?

For a parameter-rich tool without output schema, the description covers purpose, algorithm, parameter details, and defaults. Missing error conditions (invalid hex, layer not found) and return value, but these are secondary for a file-modifying tool. Adequate for an AI agent to understand usage.

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?

The Args section adds significant meaning beyond schema titles: 'filename: Aseprite file to modify', 'color_start: Hex color', 'horizontal: Run the gradient left-to-right'. This compensates for 0% schema description coverage. Lacks explicit format for hex values (e.g., with/without #), but still provides clear intent.

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 'Fill a rectangle with a two-color gradient using Bayer 4x4 ordered dithering,' specifying the verb, resource, and method. It distinguishes the tool from siblings like apply_dither_pattern (pattern not gradient) and apply_gradient_rect (smooth gradient) by highlighting the pixel-art method without new colors.

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?

The description implies usage for pixel art color blending without introducing intermediate colors, giving context. However, it does not explicitly state when to prefer this over alternatives like apply_gradient_rect or apply_dither_pattern, or when not to use it. Lacks explicit exclusions or comparisons.

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