Skip to main content
Glama

remove_palette_color

Remove a color from the palette and remap its pixels to a different color, automatically shifting higher palette indices down by one.

Instructions

Delete a palette entry, remapping its pixels to remap_to. Higher indices shift down by one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesPalette index
doc_idYesDocument id
renderNoInclude a render of the change (default true)
remap_toYesPalette index existing pixels are remapped to
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors (remapping pixels, index shifting) but omits details like required permissions, reversibility, or side effects on other elements.

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 redundant words. The core action and key behavioral nuance (index shift) are front-loaded.

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 mutation tool with no annotations and no output schema, the description is incomplete. It does not mention return values, error cases (e.g., index out of bounds), or prerequisites like palette size constraints.

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

Parameters4/5

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

The description adds significant meaning beyond the schema: it explains that `remap_to` is where existing pixels go and that higher indices shift down. The schema covers 100% of parameters with descriptions, but the description ties them together operationally.

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 the verb 'Delete' and resource 'palette entry', and specifies the remapping behavior and index shifting. This distinguishes it from sibling tools like `set_palette_color` or `swap_palette_indices`.

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 only implicitly states when to use (delete a palette entry) but provides no explicit guidance on when not to use it, prerequisites, or alternative tools (e.g., `replace_color` or `adjust_palette_color`).

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/ehm-93/pixel-mcp'

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