Skip to main content
Glama
diivi
by diivi

animation_sanitize

Normalize animation consistency by checking frame ranges, layer order, overlaps, and out-of-range cels. Apply automatic fixes or generate a summary report.

Instructions

Normalize animation consistency and optionally apply fixes.

layer_frame_ranges format: ["layer:1-8,17-24", "clouds:1-12"] out_of_range_action: "set_opacity_zero", "delete_cels", "none" ignore_full_canvas_overlaps: skip overlap checks when a cel is full canvas Returns JSON for AI consumption (summary, layer_stats, alerts, overlaps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
start_frameNo
end_frameNo
layer_namesNo
layer_orderNo
layer_frame_rangesNo
ensure_layersNo
overlap_pairsNo
report_boundsNo
max_overlapsNo
ignore_full_canvas_overlapsNo
out_of_range_actionNoset_opacity_zero
out_of_range_opacityNo
report_onlyNo
include_statsNo
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It mentions 'optionally apply fixes' and returns JSON, but does not state whether the tool modifies the sprite permanently, what side effects occur, or what 'normalize' entails beyond overlap/frame checks. The parameter 'report_only' hints at behavior but is not explained. Significant gaps.

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?

The description is concise, with 4 sentences that front-load the purpose and include example formats. It is efficient but could benefit from clearer separation of description, parameter details, and return value. Still, good conciseness.

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?

With 15 parameters, no output schema, and no annotations, the description is incomplete. It does not explain what 'normalization' entails, which fixes are applied, or the full return structure. The agent would need additional documentation to use this tool effectively.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain parameters. It provides examples for layer_frame_ranges and out_of_range_action, and briefly explains ignore_full_canvas_overlaps. However, 12 out of 15 parameters (including required 'filename') are completely unexplained. The agent cannot infer the meaning of most parameters from the description alone.

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 states the tool's purpose: 'Normalize animation consistency and optionally apply fixes.' This is a clear verb+resource combination, but it doesn't explicitly differentiate from siblings like audit_animation or validate_scene, which also deal with consistency. Slightly vague on what 'consistency' means, but overall clear.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The description does not mention prerequisites, when to prefer this tool over audit_animation or other sibling tools, or what context triggers its use. An agent would have to infer usage from the purpose alone.

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

Install Server

Other Tools

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/diivi/aseprite-mcp'

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