Skip to main content
Glama

Generate an illustrative color palette

generate-color
Read-onlyIdempotent

Generate color palette. Use when a design prototype needs related colors from a base hue. Not an accessibility or WCAG contrast audit. Returns palette values in the selected format; generated colors are not automatically accessible.

Input Schema

TableJSON 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.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds context beyond the annotations: it states the return format follows the selected notation and warns that generated colors are not automatically accessible, which is useful caveat behavior.

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?

Three short sentences, front-loaded with purpose, then usage, then caveat. No filler and every clause carries a distinct obligation.

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 partially compensates by noting returns are palette values in the selected format and are not automatically accessible. Combined with 100% schema coverage and full annotations, an agent has enough to invoke it correctly, though return shape details remain unspecified.

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 all five parameters (base, seed, count, format, scheme) are already documented in the schema with enums for format and scheme. The description only alludes to "base hue" and "selected format" without adding syntax or constraints, so the baseline 3 applies.

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?

States a specific verb and resource ("Generate color palette") that clearly maps to the color-generation function, and the title elaborates it as an "illustrative color palette." It does not explicitly distinguish itself from any sibling, but no sibling in the list handles colors, so the purpose is unambiguous in practice.

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?

"Use when a design prototype needs related colors from a base hue" gives an explicit when-to-use, and "Not an accessibility or WCAG contrast audit" gives an explicit when-not. This routing guidance is complete for the agent's decision.

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