Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

rotsprite_rotate

Rotate an Aseprite layer by any angle while keeping pixel lines connected and avoiding jagged edges or added colors; use RotSprite sampling for clean pixel-art rotation.

Instructions

Rotate a layer by any angle without the broken, jagged lines of plain rotation.

RotSprite (the algorithm behind Aseprite's own rotation, done offline): upscale 8x with Scale2x, rotate there, sample back. Lines stay connected and no new colours appear. Good for swinging weapons, tilted props, leaning poses and spinning items. Positive angles turn clockwise.

Args: filename: Aseprite file angle: Degrees, clockwise (e.g. 22.5, -45) layer_name: Image layer ("" = topmost) frames: Frames to rotate (default "1"; "" = all) pivot: "x,y" to rotate around (default: centre of the drawn pixels) method: rotsprite (best) or nearest (fast, blockier) output_layer: Write to this layer instead of replacing

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>",
      "angle": "<angle>"
    },
    "name": "rotsprite_rotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
angleYes
pivotNo
framesNo1
methodNorotsprite
filenameYes
layer_nameNo
output_layerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it explains the Scale2x 8x upscale/rotate/resample pipeline, guarantees no new colours appear, states clockwise positive angles, and reveals the destructive default behind output_layer ('write to this layer instead of replacing'). It omits whether the file is saved to disk and gives no error or return behavior.

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 core promise is front-loaded in the first sentence and the algorithm rationale follows efficiently; the Args block is a clean, skimmable list. Slightly verbose in the algorithm aside, but nearly every sentence earns its place.

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 7-parameter mutation tool with no annotations, no output schema, and zero schema descriptions, the definition covers behavior and parameters thoroughly enough to call it correctly. Remaining gaps are file persistence and failure modes, which are secondary but non-trivial for an offline file-mutating tool.

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

Parameters5/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 compensate and it does: every one of the 7 parameters is explained with format and meaning, including angle units and sign, layer_name ("" = topmost), frames ("1" default, "" = all), pivot "x,y" defaulting to the centre of drawn pixels, method values, and output_layer semantics.

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?

Specific verb+resource (rotate a layer by any angle) with an immediate quality differentiator: it avoids 'the broken, jagged lines of plain rotation,' which implicitly separates it from the plain rotate_layer sibling. An agent can tell exactly what operation this performs and why it differs from a naive rotation.

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?

Names concrete use cases (swinging weapons, tilted props, leaning poses, spinning items) and gives explicit guidance on the method trade-off: rotsprite (best) vs nearest (fast, blockier). It stops short of stating when to prefer the sibling rotate_layer or when not to use this tool, so it is clear context without explicit exclusions.

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