Skip to main content
Glama

Generate an illustrative color palette

generate-color
Read-onlyIdempotent

Generate a palette from a base color and harmony scheme. Use for design prototypes; defaults: random base, triadic scheme, five hex colors. Returns {base, scheme, colors, textOnBase}; text color is heuristic, not a WCAG contrast check.

Input Schema

NameRequiredDescriptionDefault
baseNoOptional base color such as #3366ff.
seedNoOptional deterministic seed for repeatable palette generation.
countNoNumber of colors, from 1 to 12.
formatNoOutput color notation: hex, rgb or hsl.
schemeNoPalette harmony algorithm: complementary, triadic, tetradic, analogous, monochrome or random.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent, non-destructive profile. The description adds genuinely new behavioral context: the return shape and the caveat that the text color is heuristic rather than a WCAG contrast check, which prevents a downstream consumer from trusting it for accessibility.

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 tight sentences: purpose first, then usage/defaults/return caveat. No filler and nothing important buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 fills that gap by naming the returned object keys and flagging the heuristic text-color caveat; combined with 100% parameter coverage, an agent has everything needed to call and interpret the tool.

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%, so the baseline is 3; the description earns an extra point by supplying the default values (random base, triadic, count 5, hex) that the schema itself does not encode.

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+resource ('Generate a palette') plus the inputs that drive it (base color, harmony scheme), which cleanly separates it from siblings like generate-hash or generate-lorem.

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

Usage Guidelines4/5

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

'Use for design prototypes' gives a clear usage context, and the stated defaults (random base, triadic scheme, five hex colors) tell the agent what happens when it passes nothing. It stops short of naming when-not to use it or pointing at any alternative tool.

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.

Resources