Skip to main content
Glama
Aseprite Studio MCP

Aseprite Studio MCP

by Irmiyaa

analyze_sprite

Inspect and critique pixel art quality by diffing frames, measuring bounds, detecting stray pixels, analyzing palettes, and auditing animation layers to catch issues before export.

Instructions

Inspect & critique pixel art quality: diff two frames (compare_frames), measure drawn bounding boxes & ground line (get_bounds), detect orphan/lone pixels & detached islands & empty cels (lint), compute color histogram & near-duplicate palette drift (color_stats), or audit animation layer coverage & tag overlaps (audit_animation).

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>",
      "action": "<action>"
    },
    "name": "analyze_sprite"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoOptional region X (for compare_frames).
yNoOptional region Y (for compare_frames).
fileYes
frameNoFrame to inspect (for lint/color_stats, default 1).
layerNoOptional layer/group name or path to isolate.
widthNoOptional region width (for compare_frames).
actionYes
frameANoFirst frame (for compare_frames).
frameBNoSecond frame (for compare_frames).
framesNoFrame(s) for get_bounds (default 'all').
heightNoOptional region height (for compare_frames).
sourceNo
maxReportNoFor lint: max reported coordinates per category (default 64).
nearThresholdNoFor color_stats: max channel diff flagged as near-duplicate (default 16).
islandThresholdNoFor lint: max pixel count flagged as small detached island (default 4).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; 'Inspect & critique' does imply a non-mutating analysis pass, which is useful. However, it says nothing about side effects, cost/latency on large sprites, error conditions for a missing file/frame, or the meaning of the consequential 'source' selector (auto/staged/disk/live). With no output schema, the per-action hints about results are the main behavioral payload, and they remain terse.

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?

A single front-loaded sentence enumerates all five modes with parenthetical action keys, which is dense but efficient and easy to scan. It wastes no words, though the run-on structure makes it slightly harder to parse than a short bulleted list would be.

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

Completeness3/5

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

For a 15-parameter, five-mode tool with no annotations and no output schema, the description covers action selection well but leaves notable gaps: the source selector, the interplay between layer and frame scoping, and any sense of what a result looks like. It is adequate to start a call but not sufficient to call confidently across all modes.

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 80%, so the schema already documents nearly every parameter (region x/y/width/height, frameA/frameB, maxReport, nearThreshold, islandThreshold). The description adds only action-level context, restating that region params belong to compare_frames and frames default to 'all' for get_bounds; it adds nothing for the undocumented 'source' enum or for threshold tuning behavior. Baseline 3 is appropriate.

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 pairs a specific domain verb ('Inspect & critique pixel art quality') with an explicit enumeration of the five actions and the concrete artifact each produces (frame diffs, bounding boxes/ground line, orphan pixels, color histograms, layer coverage). An agent can tell exactly which analysis capabilities live here. It stops short of 5 because it never contrasts itself with the similarly named sibling 'inspect_sprite', leaving the boundary to inference.

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?

By mapping each action value to the question it answers, the description effectively tells the agent when to pick each mode, and the 'or' framing signals that exactly one action is selected per call. It gives no exclusions or prerequisites (e.g., that a sprite must already be open or staged, or what 'source' to pick), so guidance is clear but incomplete.

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