Skip to main content
Glama

get_palette

Retrieve the color palette of an Aseprite sprite as a list of hex color codes. Provides each color in #RRGGBBAA format.

Instructions

Return the sprite's palette as a list of "#RRGGBBAA" colours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
Behavior3/5

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

Without annotations, the description carries the full burden. It states a non-destructive read operation, but it does not disclose side effects, permissions, or return size limits. The behavioral trait is simple and correctly implied.

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?

The description is a single concise sentence with no wasted words. It directly conveys the action and output format.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately covers the return format (list of colour strings). However, it omits details about edge cases (e.g., empty palette) and whether it applies to the current frame or entire sprite. Overall sufficient for a simple retrieval.

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 schema has 0% description coverage, yet the description adds no meaning to the 'filename' parameter. It does not explain what filename refers to (sprite file, asset name, etc.), leaving the agent to guess.

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?

The description clearly states it returns the sprite's palette as a list of "#RRGGBBAA" colours, using a specific verb and resource. It distinguishes itself from sibling palette tools like set_palette and load_palette by being a read-only retrieval.

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 for reading the palette but provides no explicit guidance on when to use this vs alternatives, no prerequisites, and no when-not-to-use conditions. The agent must infer from the verb and sibling names.

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

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