Skip to main content
Glama

load_palette

Apply a palette from a file to an existing sprite, changing its color scheme to match the imported palette.

Instructions

Load a palette from a file into a sprite

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesSprite file
palettePathYesPath to palette file (.gpl, .pal, .aseprite, .png, etc.)
savePathNoPath to save
Behavior2/5

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

With no annotations, the description should fully disclose behavioral traits. It only says 'Load', which implies a mutation (changes the sprite's palette), but does not explain side effects, whether the existing palette is overwritten, or what happens to sprite content. The optional 'savePath' parameter is not elaborated, leaving its purpose ambiguous.

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 with no extraneous information. It is front-loaded with the main action. However, the lack of explanation for the optional savePath parameter reduces clarity slightly.

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?

Without output schema, the description should at least hint at return behavior (e.g., nothing returned, or modified sprite info). It also fails to explain what the optional savePath does (e.g., save the modified sprite to that path). Given the complexity of loading a palette, the description is incomplete.

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 description coverage is 100%, so the baseline is 3. The parameter descriptions add a little value (e.g., listing file formats for palettePath), but do not explain the role of savePath or the relationship between filePath and palettePath. The main description adds no additional parameter context.

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 the verb 'load' and the resource 'palette from a file into a sprite', providing a clear purpose. However, it does not distinguish this tool from siblings like 'get_palette' which retrieves the current palette, or 'set_palette_colors' which modifies palette data directly.

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?

The description provides no guidance on when to use this tool versus alternatives such as 'set_palette_colors' or 'get_palette'. It does not specify prerequisites or scenarios where this tool is appropriate.

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

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