Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

offset_wrap

Shift layers with wrap-around so pixels leaving one edge reappear on the opposite side, making sprites tile seamlessly by painting over the seam.

Instructions

Shift layers with wrap-around (pixels leaving one edge come back on the other).

The standard way to make a tile seamless: offset by half the tile size so the edges meet in the middle, paint over the seam there, then offset back. view_tiled shows whether it worked.

Args: filename: Aseprite file dx, dy: Shift in pixels (e.g. half the width and height) layer_name: "*" = all image layers, or one layer frames: "" = every frame

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>",
      "dx": "<dx>",
      "dy": "<dy>"
    },
    "name": "offset_wrap"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxYes
dyYes
framesNo
filenameYes
layer_nameNo*

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral weight; it does explain the wrap-around semantics, which is the non-obvious core behavior, and clarifies framing ('tile seamless') that the schema cannot convey. However, it never says whether the sprite/frames are modified in place and saved, whether changes are reversible, or what the call returns — significant gaps for what is evidently a mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Behavioral explanation is front-loaded in the first sentence, the practical workflow follows, and the args block is short and necessary given the empty schema descriptions. No sentence is redundant.

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?

Covers purpose, workflow, and all five parameters, but for a mutating image tool with no annotations and no output schema it omits save/persistence behavior, the nature of the result, and any warnings about painting over the seam being destructive-ish. Adequate to invoke, incomplete for confident use.

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 the description must compensate, and it largely does: dx/dy are described as pixel shifts with the example of half the width/height, layer_name is documented with the '*' wildcard meaning all image layers, and frames with '' meaning every frame. It leaves the format for selecting specific frames and the sign convention for negative offsets unstated.

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?

States a concrete verb and resource — 'Shift layers with wrap-around' — and immediately defines the edge behavior in parentheses. It also names the outcome ('make a tile seamless') and points at view_tiled for verification, though it does not explicitly distinguish itself from the similarly-named sibling offset_cel_positions.

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?

Gives a clear when-to-use scenario: the standard seam-removal workflow (offset by half the tile, paint the seam, offset back), and names view_tiled as the check. It stops short of stating exclusions or when a non-wrapping offset would be preferred, but the intended context is unambiguous.

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