Skip to main content
Glama

load_palette

Destructive

Loads a palette file and applies it to the current sprite, enabling consistent color schemes in Aseprite pixel art and animations.

Instructions

Load a palette from a file (.gpl, .pal, .aseprite, .png, ...) and apply it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
palette_fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.10.0
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • removedInput schema / properties / palette_file / title
      Removed value: -"Palette File"
    • removedInput schema / title
      Removed value: -"load_paletteArguments"
  2. First observedv0.7.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations flag destructiveHint=true and readOnlyHint=false, but the description never discloses what the operation destroys or replaces (e.g., the existing palette) or which document is affected. 'Apply it' vaguely implies mutation but adds no real behavioral context beyond the annotations.

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 front-loaded sentence with no filler or redundancy. It is terse, but every word contributes to the action being described.

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?

For a destructive mutation with no output schema and 0% parameter coverage, the description omits the essential facts: which object is modified, whether the existing palette is replaced, and what 'filename' refers to. It is under-specified for the risk level implied by the annotations.

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 neither required parameter is explained. The description clarifies 'palette_file' only by listing example extensions, while 'filename' is left completely unexplained, so the agent cannot tell whether it names the target sprite or something else.

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 concrete verb+resource ('load a palette from a file') and even enumerates supported formats. It does not distinguish itself from palette siblings such as set_palette, extract_palette, or quantize_palette, and 'apply it' leaves the target of the application implicit.

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 guidance on when to prefer this over set_palette or extract_palette, no statement of prerequisites, and no indication of what 'apply' affects. The agent must infer usage entirely from the name.

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