Skip to main content
Glama
Aseprite Studio MCP

Aseprite Studio MCP

by Irmiyaa

import_asset

Import external PNG, GIF, or BMP images onto new or existing layers, or copy named layers from another .aseprite file into a sprite for asset reuse.

Instructions

Import an external image file (PNG/GIF/BMP) onto a new or existing layer, or copy named image layers from another .aseprite file into this sprite.

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": {
      "file": "<file>",
      "action": "<action>",
      "sourceFile": "<sourceFile>"
    },
    "name": "import_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoFor image: placement X offset (default 0).
yNoFor image: placement Y offset (default 0).
fileYesDestination .aseprite path or '@active' in Live mode.
nameNoFor image: new layer name when 'layer' is omitted.
frameNoFor image: target frame (default 1).
layerNoFor image: destination layer name (created if missing).
actionYes
layersNoFor copy_layers: layer names/paths to copy (all image layers if omitted).
prefixNoFor copy_layers: optional name prefix for copied layers.
previewNoReturn an inline PNG preview in the same Aseprite call (true or options object).
sourceFileYesSource image path (action='image') or source .aseprite path (action='copy_layers').
expandFramesNoFor copy_layers: add frames if source sprite has more frames.
resizeCanvasNoFor image: expand canvas if imported image exceeds bounds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it only implies mutation via 'into this sprite'. It says nothing about whether existing layer content is overwritten, whether the destination file must already exist, how errors surface, or that the tool can return an inline PNG preview (only the schema reveals that).

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?

A single well-formed sentence with the primary resource front-loaded and the second mode clearly set off. No filler, though it is dense enough that a short clause on the destination-mutating nature would have been worth the words.

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?

For a 13-parameter mutation tool with no annotations and no output schema, the description covers the what but not the result (what the sprite or file looks like after, whether a preview is returned). The rich schema compensates for most parameter gaps, keeping this at minimum-viable rather than inadequate.

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

Parameters3/5

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

Schema description coverage is 92%, so the schema already documents nearly every parameter, and the baseline is 3. The description does add one piece of meaning not in the schema: the accepted image formats (PNG/GIF/BMP), but it does not explain mode-specific parameters such as expandFrames, resizeCanvas, or prefix.

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 names a specific verb (Import) and two distinct resources (an external image file, or named image layers from another .aseprite), and the 'or' cleanly separates the two modes. It does not differentiate against siblings like draw_pixels or manage_layer, but the operation itself is unambiguous.

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

Usage Guidelines3/5

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

The two modes are described but no conditions for choosing them are stated beyond the action implied, and there is no guidance on when to use this versus draw_pixels, manage_layer, or apply_effect. Usage is implied rather than instructed.

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