Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

set_palette_colors

Set the active brush color and add hex colors to the active project palette to manage colors during live pixel-art sprite editing.

Instructions

Set the active brush color and/or append hex colors to the active project palette.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_palette_colors"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorsNoHex colors to add to the active palette.
activeColorNoHex color to set as active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does convey that palette changes are additive ('append') while the active color is a state assignment ('set'). It does not disclose what happens if no project is active, whether duplicate hex values are allowed, or whether invalid hex strings are rejected, which matters for a mutation tool with zero annotation coverage.

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 sentence with no filler, with the state-changing verb front-loaded. The 'and/or' construction is slightly loose but efficient; nothing meaningful is padded or repeated.

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?

For a two-optional-parameter mutation with full schema coverage and no output schema, the definition covers both effects and the additive nature of the palette write. Missing are edge-case behaviors (no active project, invalid input, return value), which keeps this from being fully complete.

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 both parameters are already documented, and the description largely restates them. It adds only the mild nuance that 'colors' appends rather than replaces, which is consistent with, but not much beyond, the schema's 'add to the active palette'.

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 ('Set') and two concrete resources: the active brush color and the active project palette. An agent can tell exactly what changes, though it does not position itself against any sibling (none in the listed set appears to do palette work, so this is a minor gap).

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 phrase 'and/or' signals that either parameter may be used alone or together, which is useful implied guidance for a tool where both params are optional. However, there is no explicit statement of prerequisites (e.g. must a project be open), no when-not guidance, and no named alternative for related color operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.