Skip to main content
Glama

Lock-and-Fill Palette from Archive

palette_generate
Read-only

Generate a colour palette by locking known hex values and filling empty slots with nearest historical matches from a chosen archive, returning cited colour names and sources.

Instructions

Send a palette of up to 8 slots, locking some with hex values and leaving others empty. Empty slots are filled with the nearest CIEDE2000 archive match, interpolated from the locked anchors. Optional archive filter restricts fills to one archive. Returns full citation — name, archive, primary source, colour notes — for every filled slot. Example: lock a client's existing wall colour and fill a 5-colour scheme from Oxfordshire.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slotsYesList of palette slots. Each has index (0-7), optional hex, and locked flag.
archiveNoOptional: restrict fills to one archive e.g. 'Oxfordshire', 'Shakespeare', 'Japan'
sizeNoTotal palette size 2-8 (default 5)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
resultNo
errorNo
Behavior4/5

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

Annotations already indicate readOnlyHint=true, and the description adds useful behavioral details: the interpolation algorithm (CIEDE2000), archive filtering, and the full citation output. No contradictions with annotations.

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 four clear sentences plus an example, no wasted words. It is front-loaded with the core purpose and uses plain language.

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 the presence of an output schema, the description sufficiently covers the process, optional inputs, and output details. It does not mention slot index uniqueness, but that is inferable. Overall, it provides adequate contextual completeness for a tool of this complexity.

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?

Schema coverage is 100%, but the description adds context beyond the schema: the limit of 8 slots, the meaning of locking, the default palette size, and an illustrative example. This enhances understanding of how parameters interact.

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 tool's function: locking some palette hex values and filling empty slots with nearest archive matches using CIEDE2000 interpolation. It distinguishes from siblings by specifying the 'lock-and-fill' mechanism and the archive-based generation, which is unique among palette_ tools.

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 includes an example use case but does not explicitly state when to use this tool versus alternatives like palette_strict or palette_concept. The context is implied rather than directive, missing explicit guidance on when not to use it.

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/DigbyO/colour-memory-api'

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