Skip to main content
Glama

check_animation

Read-only

Audit an Aseprite animation without changing it: verify required layers, frame ranges, overlaps, and common frame warnings so errors are caught before export.

Instructions

Audit the animation without changing it; every layer is checked, nested ones too.

Each finding is {kind, severity, message} plus layer and frame where they apply. Errors: missing_layer (a named layer does not exist), out_of_range (a layer has pixels in a frame outside its layer_frame_ranges entry), overlap (an overlap_pairs pair has pixels on the same canvas spot; with pixels and bounds). Warnings: missing_in_range (no pixels in a frame inside its range), ambiguous_layer (a bare name matches several layers; the shallowest is used), empty_frame (no visible pixels), cel_off_canvas, frame_duration (under 10 ms or over 10 s). Ranges and overlaps look at a layer's own pixels, hidden or not; tilemap layers are left out of overlap checks. The overlap scan covers where the pairs' cels meet, summed over pairs and frames; past ASEPRITE_MCP_MAX_SCAN_PIXELS (default 16777216) the call fails before scanning, so check fewer frames or pairs. ok is true when there is no error. At most 200 findings are listed (truncated says so; finding_count is the total). Only frames are checked.

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": {
      "path": "<path>"
    },
    "name": "check_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesSprite file. Relative paths resolve against the server root.
framesNoFrames: a number, "1-4", "1-4,7" or "all" (1-based)all
overlap_pairsNoLayer pairs whose pixels must not overlap
required_layersNoLayers that must exist
layer_frame_rangesNoLayer name or path -> the frames it may have pixels in, e.g. {"Sword": "3-5"}; a group covers all its layers

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description independently discloses a great deal more: the finding shape {kind, severity, message} with layer/frame attribution, the full error and warning taxonomy, that hidden layers are still inspected, that tilemap layers are excluded from overlap checks, that ok means no errors, the 200-finding truncation with finding_count as the true total, and the scan pixel budget with its default. This is exactly the contextual disclosure annotations cannot carry.

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?

Front-loaded with the purpose and the non-mutating guarantee before the finding taxonomy, and nearly every sentence carries operational information. The middle block is dense – several distinct rules (range semantics, tilemap exclusion, scan cap) are packed into consecutive clauses – which costs a little scannability but wastes no content.

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

Completeness5/5

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

There is an output schema, so return shape need not be restated, yet the description still covers the things an agent must know before calling: severity semantics, ok semantics, truncation behavior, scan limits with an env-var name and default, and which parameter domains are actually audited. Nothing material is missing for a 5-parameter read-only validation tool.

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?

Schema coverage is 100%, so 3 is the baseline, but the description earns above that by explaining what the parameters actually constrain: ranges and overlap checks look at a layer's own pixels whether hidden or not, tilemaps are skipped for overlap, and only the requested `frames` are examined. That adds real interpretation beyond the schema's field-level strings.

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?

"Audit the animation without changing it" gives a specific verb (audit), a specific resource (animation), and an explicit non-mutation scope that separates it from repair/setup siblings like repair_animation. The added clause "every layer is checked, nested ones too" clarifies coverage depth an agent could not infer from the name.

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?

Usage context is clear: this is a diagnostic pass that never mutates, and the description tells the agent how to react to the documented failure mode ("past ASEPRITE_MCP_MAX_SCAN_PIXELS ... the call fails before scanning, so check fewer frames or pairs"). It stops short of naming a repair tool as the follow-up action or stating explicitly when to skip the check, so it is not a full when/when-not/alternative treatment.

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