Skip to main content
Glama

Ase Sort Palette

ase_sort_palette

Reorders a sprite's palette colors by hue, saturation, brightness, or luminance. Provide the sprite path to sort its palette; optionally set the method and ascending order.

Instructions

Sort the sprite palette by hue|saturation|brightness|luminance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNohue
ascendingNo
sprite_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 the sort criteria but does not state whether the operation mutates the sprite file in place, whether it requires a saved file, whether it is reversible, or what the output schema contains. For a mutation-like operation, this is a notable gap.

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 a single concise sentence that front-loads the action and lists the sort options. It earns its place with no filler, though it could add a bit more behavioral context without becoming bloated.

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?

With no annotations, 0% schema coverage, and an output schema present, the description is too thin. It does not explain the effect on the file, the meaning of ascending, or what the output schema contains. An agent would need to open the schema and guess at side effects.

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 only names the sort keys (hue|saturation|brightness|luminance) which map to the 'method' parameter. It does not explain 'ascending' behavior or the meaning/format of 'sprite_path'. The description partially compensates for the method parameter but leaves the other two parameters undocumented.

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 states a specific verb ('Sort') and resource ('sprite palette') with the sort keys listed. It is clear enough to distinguish from sibling tools like ase_get_palette or ase_set_palette, though it doesn't explicitly name a sibling alternative.

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 usage: when you want to reorder the sprite palette by a given criterion. It does not state when not to use it or mention alternatives like ase_analyze_palette_harmonies or ase_quantize_to_palette, but the context of sorting is reasonably 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