Skip to main content
Glama

Ase Import Layer

ase_import_layer

Import a PNG into an Aseprite sprite as a new layer at frame's origin, then save the sprite in place. Runs headless via Aseprite CLI.

Instructions

Import a PNG (e.g. an RD generation) into an .aseprite sprite as a new layer.

The image cel is placed at (0,0) on the given 1-based frame. The sprite file is saved in place. Runs headless via the Aseprite CLI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNo
image_pathYes
layer_nameYes
sprite_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/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. It discloses key behaviors: 'saved in place' implies mutation of the file, 'runs headless via the Aseprite CLI' indicates no GUI, and the placement at (0,0) is stated. However, it does not disclose whether the operation is reversible or if it overwrites existing layers with the same name, which could be important.

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 and front-loaded with the core purpose, followed by specific placement instructions and execution details. It is efficient without unnecessary fluff, but could benefit from a brief note on parameter specifics without becoming verbose.

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?

The description covers the main operation and execution mode, but given the 0% schema description coverage and lack of annotations, it lacks detail on the parameters' meaning and expected formats. There is no output schema, so the description could mention what the tool returns (e.g., success status). Overall, it is adequate for a simple import but leaves important details for an agent to infer.

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%, and the description does not elaborate on the parameters. It mentions 'given 1-based frame' which adds context for the 'frame' parameter, but does not explain what 'sprite_path', 'image_path', or 'layer_name' should be (e.g., file formats, path requirements). This is a significant gap since the schema only lists types without descriptions.

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 description clearly states the action (import a PNG as a new layer), the target resource (.aseprite sprite), and the context (e.g., an RD generation). It distinguishes from siblings like ase_add_layer or ase_export_sprite by specifying the import source and placement.

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 description provides essential usage context: the image is placed at (0,0) on a given frame, and the file is saved in place. However, it does not explicitly mention when to use this tool versus alternatives like ase_add_layer (which likely creates an empty layer) or ase_create_cel (which might place an image differently). This is a minor gap, but the core usage is clear.

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