Skip to main content
Glama

Ase Apply Palette Preset

ase_apply_palette_preset

Apply a built-in retro palette to a sprite. Pair with quantization to remap existing pixels.

Instructions

Set the sprite palette to a built-in retro preset. Only the palette is changed; snap existing pixels with ase_quantize_to_palette afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetYes
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
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses an important side effect: existing pixels are not automatically remapped and must be quantized afterwards. It does not mention whether the file is saved in place or whether all frames are affected, but the key caveat is present.

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?

Two sentences with no filler. The main action is front-loaded, and the caveat is placed immediately after. Every word earns its place.

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?

The tool is simple, but with zero schema descriptions and no parameter guidance, the description is incomplete. It does not mention how to obtain valid preset names or that sprite_path is the target file. The output schema exists, so return details are not required, but the missing parameter semantics leave an agent guessing.

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

Parameters1/5

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

The input schema has zero description coverage, and the tool description does not explain either parameter (sprite_path or preset). It references a 'built-in retro preset' but does not specify valid preset values or how to discover them (e.g., via ase_list_palette_presets). This is a major gap for an agent trying to invoke the tool correctly.

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?

States a specific action ('Set the sprite palette to a built-in retro preset'), identifies the resource (sprite palette), and clarifies scope by saying only the palette is changed. This distinguishes it from sibling ase_set_palette, which likely sets a custom palette, and from ase_quantize_to_palette, which is explicitly named as a follow-up.

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?

Provides a clear usage context: apply a built-in preset, then quantize existing pixels with ase_quantize_to_palette. It does not explicitly state when not to use this tool versus alternatives like ase_set_palette, but the next-step guidance is useful and directs the agent to a specific sibling.

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