Skip to main content
Glama

invert_colors

Invert colors on a selected layer or region in an Aseprite file. Specify the file, layer, frame, and optional area to apply inversion.

Instructions

Native colour inversion (app.command.InvertColor).

Args: filename: Aseprite file to modify layer_name: layer to invert (empty = active layer) frame_index: 1-based frame x, y, width, height: optional region (width>0 & height>0 to scope)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
widthNo
heightNo
filenameYes
layer_nameNo
frame_indexNo
Behavior2/5

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

With no annotations, the description carries full burden but only mentions 'native colour inversion' without detailing side effects, undo behavior, or what exactly happens. It does not disclose if it modifies the sprite in place or returns a new one.

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

Conciseness3/5

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

The description is somewhat structured with an 'Args:' block but uses informal formatting. It is not overly long but could be more concise and better formatted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 7 parameters, the description lacks behavioral context, return value info, error handling, and example usage. It covers parameters but is incomplete for a mutation 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 coverage is 0%, but the description adds significant meaning: explains filename required, layer_name default to active layer, frame_index as 1-based, and region scoping when width & height > 0. This fully compensates for the lack of schema descriptions.

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 clearly states it performs native color inversion on an Aseprite file. It is distinct from siblings like adjust_hsl or adjust_brightness_contrast, but does not explicitly differentiate itself.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The description lacks context about prerequisites, limitations, or when not to use it.

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/NosytLabs/aseprite-mcp'

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