Skip to main content
Glama

save_custom_palette

Destructive

Save custom color palettes—hex or named colors—for reuse across textures, optionally scoped to a specific texture.

Instructions

Save a custom color palette for reuse with any texture.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "colors": "<colors>"
    },
    "name": "save_custom_palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesUnique name for this palette.
colorsYesList of colors — hex (``"#FF0000"``) or named (``"baby blue"``, ``"salmon"``, ``"forest green"``).
textureNoOptional texture this palette is designed for. Default: "any".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.1
    • addedInput schema / properties / colors / description
      Added value: +"List of colors — hex (``\"#FF0000\"``) or named (``\"baby blue\"``, ``\"salmon\"``, ``\"forest green\"``)."
    • addedInput schema / properties / name / description
      Added value: +"Unique name for this palette."
    • changedInput schema / properties / texture / description
      Previous value: -"Default: \"any\"."New value: +"Optional texture this palette is designed for. Default: \"any\"."
  2. Addedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, meaning saving can overwrite something, yet the description says nothing about replacement behavior even though the schema calls the name "unique" — the collision case is exactly what an agent needs to know. No mention of permissions, side effects, or what the call returns. The benign "save for reuse" framing undersells the destructive capability the annotations flag.

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 well-formed sentence with no filler, and the core action is front-loaded. It is efficient but so short that it borders on under-specification given the destructive nature of the operation.

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 write tool with no output schema, the description leaves out overwrite semantics, name-collision behavior, and any sense of what is persisted. It covers the happy path only, which is insufficient relative to the risk signaled by annotations.

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%, including format examples for colors and an explicit default for texture, so the schema carries the parameter burden. The description adds only a light hint that the palette is texture-agnostic ("with any texture"), consistent with the texture default of "any". Baseline 3 is appropriate.

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 names a specific verb and resource ("Save a custom color palette"), which is unambiguous about what the tool does. It does not differentiate itself from the clearly related siblings delete_custom_palette or list_custom_palettes, which keeps it from a 5.

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?

Only an implied use case is given ("for reuse"), with no statement about when to save versus list or delete a palette. There is no guidance on prerequisites, whether an existing palette with the same name should be handled first, or when this tool should not be used.

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