Skip to main content
Glama

Color palette generator: harmonies and shades from one color

color_palette
Read-only

Build a colour palette from one hex colour: complementary, analogous, triadic, split-complementary and tetradic harmonies (hue rotations at the same saturation and lightness), plus six shades from light to dark, all as hex codes, with the base colour's HSL. Use for UI themes, charts, brand kits or slide decks; to check text readability on a colour use color_contrast. Example: color=#3366ff. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
colorYesBase colour as hex, such as #3366ff or 36f

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description adds the auth and cost model ($0.01/call via x402 USDC or a card key at /credits, first 25 free, failed calls free) and warns that repeats are not free, which explains the idempotentHint=false annotation in practical terms. It does not describe ordering or exact shape of the returned harmonies, but the cost/auth disclosure is real value beyond the structured fields.

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?

Front-loaded with the core capability and output inventory in one sentence, followed by use cases, the sibling pointer, and the pricing/behaviour note. Slightly padded by the em-dash stacking of specificity details ('first 25 free; failed calls free') and the commercial pricing pitch, but no sentence is off-topic.

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?

With no output schema, the description carries the return-value burden and does a fair job (harmonies and shades as hex codes, plus base HSL). What is still fuzzy is the container format — whether results come back as one string or structured fields — and the ordering of the six shades, which an agent may want to know before formatting the output.

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 coverage is 100% and the single `color` parameter already documents hex formats like #3366ff or 36f, so the description's example adds nothing new about the argument itself. The 'hue rotations at the same saturation and lightness' clause adds useful semantics but describes the computation, not the parameter. Baseline 3 applies.

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?

States a specific verb and resource ('Build a colour palette from one hex colour') and enumerates exactly what is produced: five named harmonies plus six shades plus the base HSL. It also distinguishes itself from the nearest sibling by routing readability checks to color_contrast, so an agent can tell it apart from `color`, `random_color` and `color_contrast` without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete use cases (UI themes, charts, brand kits, slide decks) and explicitly names the alternative tool with the condition that selects it ('to check text readability on a colour use color_contrast'). The input example and the note that repeated calls are charged further tell the agent how to invoke it efficiently.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.