Skip to main content
Glama
Aseprite Studio MCP

Aseprite Studio MCP

by Irmiyaa

draw_pattern

Draw pixel art in Aseprite from ASCII rows and a single-character color legend, skipping blank or specified characters to leave existing pixels unchanged.

Instructions

Draw pixel art from ASCII rows + a single-character color legend. Characters matching skipChar (default '.') and spaces leave existing pixels unchanged.

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>",
      "rows": "<rows>",
      "legend": "<legend>"
    },
    "name": "draw_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoTop-left X offset (default 0).
yNoTop-left Y offset (default 0).
fileYes
rowsYesArray of equal-width ASCII strings representing pixel rows.
frameNo
layerNo
legendYesMap of single character -> hex color, 'transparent', or palette index.
previewNoReturn an inline PNG preview in the same Aseprite call (true or options object).
skipCharNoCharacter to skip (default '.').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 disclose one genuinely important trait: skipChar characters and spaces leave existing pixels unchanged, i.e. this is a non-destructive overlay rather than a clear-and-redraw. However, it says nothing about required state (an open sprite, active frame/layer targeting), whether writes are undoable, or how the offsets interact with existing content.

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?

Two sentences, front-loaded with what the tool produces and then the one non-obvious rule about unchanged pixels. Nothing is wasted and no sentence merely restates the tool name.

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

Completeness2/5

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

This is a 9-parameter mutation tool with nested objects, no annotations, and no output schema, yet the description covers only the rows/legend/skipChar path. Frame and layer targeting, the x/y offset semantics, and what preview returns are left entirely to the schema, which is thin for a drawing operation against an existing sprite.

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

Parameters3/5

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

Schema coverage is 67%, so most parameters are documented structurally. The description adds real meaning where it matters: it explains that the legend maps single characters to colors and clarifies skipChar's actual behavior (skip versus paint). It adds nothing for file, x/y, frame, layer, or preview beyond what the schema already states.

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 description uses a specific verb and resource: 'Draw pixel art' whose input is 'ASCII rows + a single-character color legend.' That input format implicitly separates it from the sibling pixel/shape/text drawing tools, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

Selection guidance is only implied by the input format: an agent can infer this is the tool for ASCII-grid pixel art rather than freeform draw_pixels. There is no explicit statement of when to use this versus draw_pixels or fill_area, and no prerequisites or exclusions are given.

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