Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

draw_rows

Draws pixels from rows of characters and a color legend, using one character per pixel to place hand-chosen details like faces or small sprites in Aseprite.

Instructions

Draw pixels from rows of characters, like ASCII art: one character per pixel.

The compact way to place hand-chosen pixels (faces, hands, animals, handles, any detail under ~12 px), far smaller than a pixel list:

rows=["..KK..",
      ".KSSK.",
      "KSSSSK"],
legend={"K": "#1A1C2C", "S": "#F4B41B"}

Row 1 is drawn at y, its first character at x (sprite pixels). "." or a character missing from the legend leaves that pixel untouched; map a character to "#00000000" to erase. Read existing pixels back in the same format with read_rows, edit the strings, and draw them again.

Args: filename: Aseprite file to modify layer_name: Layer to draw on frame_index: Frame index starting at 1 x: Left edge of the rows (sprite pixels) y: Top edge of the rows (sprite pixels) rows: Equal-width strings, top to bottom legend: Single character -> hex colour (#RGB, #RRGGBB or #RRGGBBAA) outline: Optional hex colour for a 1 px outline around the outside of the drawn pixels (sides only, not diagonals), drawn over whatever is there, e.g. to separate an object from the scene behind it create_if_missing: Create the cel if it does not exist

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>",
      "layer_name": "<layer_name>",
      "frame_index": "<frame_index>",
      "x": "<x>",
      "y": "<y>",
      "rows": "<rows>",
      "legend": "<legend>"
    },
    "name": "draw_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
rowsYes
legendYes
outlineNo
filenameYes
layer_nameYes
frame_indexYes
create_if_missingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.5/5.0
Behavior4/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 real behavior: '.' or a legend-missing character leaves pixels untouched, mapping a character to '#00000000' erases, and the outline is drawn over whatever is already there, sides only, not diagonals. It does not say whether the file is persisted, what errors occur on a missing layer/frame, or whether drawing replaces or composites with an existing cel, which are notable gaps for a mutation tool.

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?

Purpose is front-loaded in the first sentence, the small code example earns its space by pinning down the rows/legend pairing and coordinate origin, and the Args block is a tight one-line-per-parameter list with no filler.

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 9-parameter, nested-object drawing tool with no output schema, the definition covers coordinates, string constraints, color encoding, erase semantics, outline behavior, and cel creation. The remaining omission is what the call returns or how failures on a nonexistent layer/frame are surfaced, but overall it is sufficient to invoke the tool correctly.

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 description coverage is 0% and there are 9 parameters, yet the description documents every one, including the details the schema cannot convey: x/y are left/top edges in sprite pixels, frame_index is 1-based, rows must be equal-width and top-to-bottom, legend values accept #RGB/#RRGGBB/#RRGGBBAA, and create_if_missing controls cel creation. This fully compensates for the empty schema descriptions.

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 a specific verb and resource ('Draw pixels from rows of characters, like ASCII art: one character per pixel') and immediately positions it against the sibling alternative by describing itself as 'far smaller than a pixel list', which maps to draw_pixels. It also names read_rows as the read counterpart, so an agent can pick between the write and read tools without opening a schema.

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?

Gives concrete selection criteria: use this for hand-chosen detail 'under ~12 px' such as faces, hands, animals, and handles. It also documents the read-edit-redraw workflow with read_rows. It stops short of an explicit when-not (e.g. use draw_pixels for large or programmatically generated fills), so the guidance is strong but not exhaustive.

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