Skip to main content
Glama

remove_layer

Delete a layer or group from an Aseprite sprite by specifying its name or 1-based index.

Instructions

Delete a layer (or group, including its children) by name or 1-based index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerYes
filenameYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that deleting a group also removes its children, but lacks details on reversibility, permissions required, or side effects. The implicit destructiveness is noted but not elaborated.

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?

The description is a single, well-structured sentence. It front-loads the action and resource, then specifies the targeting method. No extraneous words.

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?

Given the tool's simplicity (2 parameters, no output schema), the description covers the core functionality: what it deletes and how to specify the target. It does not mention return values or errors, but for a straightforward deletion tool, this is nearly complete.

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 0%, so the description must compensate. It clarifies that the 'layer' parameter accepts a string that can be a name or 1-based index, but does not explain the 'filename' parameter (likely a file path). This adds some meaning but not fully covers all parameter aspects.

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 ('Delete'), the resource ('a layer or group'), and specifies the targeting methods ('by name or 1-based index'). It effectively distinguishes from sibling tools like 'add_layer' or 'rename_layer'.

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 description implies when to use the tool (when a layer or group needs to be removed) but does not provide explicit guidance on when not to use it or alternatives (e.g., 'merge_layer_down' or 'delete_cel' for different use cases).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MalloyTheDev/aseprite-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server