Skip to main content
Glama

set_palette_color

Update a specific palette index with a new hex color to adjust pixel art palettes in Aseprite. Use it to change one color at index 0-255 without rewriting the whole palette.

Instructions

Updates the color at a specific palette index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorYesNew hex color e.g. #FF0000FF
indexYesPalette color index (0-255)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden and delivers little. It does not disclose that this overwrites an existing palette entry, whether the change is undoable/redoable (undo and redo exist as siblings), or whether an active palette must be loaded first.

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 efficient sentence with the resource and target front-loaded, and no wasted words. It is concise but borders on under-specification rather than trimming redundancy.

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 two-parameter mutation with a fully documented schema, the description is minimally viable. It omits the mutation's side effects (overwrite, undoability) and any state prerequisite, which for an unannotated write tool leaves an agent with real gaps.

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 coverage is 100%: index (0-255) and color (hex, e.g. #FF0000FF) are fully documented in the schema. The description adds no format, range, or edge-case detail beyond what the schema already states, so baseline 3 applies.

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 specific verb ("Updates") and resource ("the color at a specific palette index"), so the action is unambiguous. However, it does not distinguish itself from palette siblings like get_palette or find_palette_color, so an agent gets no explicit routing help.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g. an active sprite/palette), and no reference to alternatives such as get_palette or find_palette_color. Usage must be inferred entirely from the name and sibling list.

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