Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

squash_stretch

Generates squash-and-stretch animation frames from a single pixel-art pose by resampling a layer at specified amounts, with optional volume preservation and anchor control.

Instructions

Generate squash & stretch frames of a layer from one pose.

Each value in amounts makes one frame: 0.3 = stretched 30% taller (and narrower when preserve_volume), -0.3 = squashed 30% flatter and wider. A jump might be [-0.25, 0.3, 0.1, 0, -0.2, 0]: crouch, launch, air, apex, land, settle. Pixels are resampled nearest-neighbour about the anchor (bottom keeps the feet on the ground), with no blur and no new colours; clean the result with cleanup_lines.

Args: filename: Aseprite file layer_name: Layer with the pose frame_index: Frame holding the source pose amounts: One deformation per output frame, -0.6 to 0.8 anchor: bottom, top, center, left or right start_frame: First frame to write (0 = the frame after frame_index); missing frames are added preserve_volume: Widen when squashing, narrow when stretching frame_duration_ms: Duration for added frames (0 = copy the last one)

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>",
      "amounts": "<amounts>"
    },
    "name": "squash_stretch"
  }
}

Input Schema

NameRequiredDescriptionDefault
anchorNobottom
amountsYes
filenameYes
layer_nameYes
frame_indexYes
start_frameNo
preserve_volumeNo
frame_duration_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses nearest-neighbour resampling about the anchor, that no blur or new colours are introduced, and that missing frames are added. It omits whether existing frames at those indices are overwritten and what the call returns, which keeps it below the top score.

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?

Purpose and the motivating example are front-loaded, then a parameter block. Nearly every sentence earns its place, though the prose explanation of amounts and the Args restatement overlap slightly, costing a bit of tightness.

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 an eight-parameter mutation tool with no annotations and no output schema, the description covers the mechanics an agent needs — resampling quality, frame insertion, duration inheritance. It does not describe the return value or failure conditions, which matters somewhat given there is no output schema.

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 description coverage is 0%, so compensation is required and largely delivered: all eight parameters are explained in the Args block, including the -0.6 to 0.8 range for amounts, the anchor choices, the start_frame offset semantics, and that frame_duration_ms=0 copies the last duration. The one gap is that anchor's five values are listed but not tied to their geometric effect beyond the parenthetical about bottom.

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?

The first line names a specific verb and resource — generating squash & stretch frames of a layer from one pose — which is a distinct operation from sibling deformation/variation tools like add_smear or add_frame. An agent can identify the operation without opening the 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?

The jump-sequence example ([-0.25, 0.3, 0.1, 0, -0.2, 0] = crouch, launch, air, apex, land, settle) makes the intended use concrete, and it routes the agent to cleanup_lines afterward. It stops short of stating when NOT to use this (e.g., versus adding hand-authored frames), so it is clear context rather than full routing guidance.

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