Skip to main content
Glama
with-pebbly

aseprite-ai-artist

by with-pebbly

Draw

draw

Batch-apply drawing operations to one cel as a single undoable action, so users can revert the entire edit with one Ctrl+Z.

Instructions

Apply a batch of drawing operations to one cel, as a single undoable action. Ops: pixels, line, polyline, rect, ellipse, fill, replace, dither, gradient, clear, blit. Batch aggressively — a whole sprite in one call is normal and correct, and it means the user can undo your work with one Ctrl+Z. Set paletteLock (default true) to snap every colour to the sprite's palette by perceptual distance before anything is written, so you cannot silently widen a curated palette. Ops run in array order, so paint fills before outlines and outlines before highlights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYesApplied in order, in one transaction.
frameNo1-based frame number. Omit to use the active frame.
labelNoName shown in Aseprite's undo history. Describe the intent, e.g. 'shade helmet'.
layerNoLayer name. Omit to use the active layer.
spriteNoSprite filename or id. Omit to use the sprite Aseprite has focused.
createCelNoCreate the cel if the target layer/frame has none.
paletteLockNoSnap every colour to the nearest palette entry (CIELAB ΔE). Set false only when the user asked to introduce new colours.
selectionOnlyNoClip every op to the current selection.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameYes
layerYes
boundsNoBounding box actually touched.
spriteYes
opsAppliedYes
colorsSnappedYesColours palette-lock moved, and how far. A large ΔE means the palette lacks that colour.
pixelsChangedYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

The description discloses behavior beyond the annotations: operations are applied as a single undoable action, paletteLock snaps colors perceptually before writes, ops run in array order, and the tool cannot silently widen the palette. This gives an agent a clear model of side effects and sequencing, especially useful since the annotations are all false and uninformative.

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?

Three focused sentences: first states what it does, second gives the critical batching/undo guidance, third covers ordering and palette safety. Every sentence earns its place 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 complex tool with 11 op types and 8 parameters, the description covers the essential behavioral model: batching, undo, paletteLock, and execution order. The rich input schema and output schema cover parameter details and return values, so the remaining gaps (e.g., selection-only clipping, createCel behavior) are adequately handled by schema descriptions rather than requiring narrative.

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 description coverage is 100%, so the baseline applies. The description reinforces paletteLock semantics and op ordering, but these are also present in the schema ('Applied in order, in one transaction', 'Snap every colour to the nearest palette entry'). It adds little genuinely new meaning beyond the structured schema.

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: 'Apply a batch of drawing operations to one cel'. The list of supported ops (pixels, line, rect, fill, etc.) makes the tool's scope unmistakable and clearly distinguishes it from sibling tools like frame, layer, or transform.

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?

Provides clear usage direction: batch aggressively, treat one whole sprite as a normal call, and rely on the single-undo behavior. It also explains when paletteLock should be kept at its default. It does not explicitly name alternative tools for non-drawing actions, but the operational guidance for how to use the tool is strong.

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

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/with-pebbly/aseprite-ai-artist'

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