Skip to main content
Glama
design-scout-mcp

design-scout-mcp

Generate a color scheme

generate_palette
Read-only

Computes color schemes from a base color and returns WCAG contrast ratios on white and black, with optional contrast checks against a second color.

Instructions

Computes color schemes from one base color locally (no external service): analogous, complementary, split-complementary, triadic, tetradic, tints, tones, shades. Every color comes with its WCAG 2 contrast ratio on white and black and the better text color. Optionally checks the contrast against a second color.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "color": "<color>"
    },
    "name": "generate_palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesBase color as hex, for example "#3366ff" or "36f".
schemeNoall
contrast_withNoSecond hex color: returns the WCAG contrast between both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true) and closed-world behavior; the description reinforces the latter with 'locally (no external service)', which is consistency rather than contradiction. Beyond that it discloses genuinely useful behavior the annotations cannot convey: every returned color carries a WCAG 2 contrast ratio against both white and black plus a recommended text color, and an optional second-color contrast check.

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?

Three sentences, front-loaded with the core verb, and the parenthetical '(no external service)' and scheme list are compact. The enumeration of scheme names is somewhat redundant with the enum but is short enough to not waste space.

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 burden of describing return values and does so for the per-color contrast data and recommended text color. It stops short of describing the overall result shape (e.g., how palettes are grouped per scheme), which is a minor gap for a three-parameter, deterministic tool.

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 67%, with hex format already documented for color and contrast_with. The description adds meaning by framing contrast_with as an optional second-color comparison, but it only repeats the enum values for scheme (analogous, complementary, etc.) without explaining what each variant produces or how 'all' behaves, so it adds little beyond the schema.

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 opens with a specific verb and resource: 'Computes color schemes from one base color', then enumerates the eight scheme families, so an agent knows exactly what it produces. It distinguishes itself from retrieval tools by stating it computes locally '(no external service)', implying a contrast with sibling palette search, though it never names the alternative explicitly.

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?

Usage context is implied rather than stated: 'Computes... locally (no external service)' tells the agent this is a generation tool, not a lookup, and the optional second-color check signals the contrast-comparison use case. There is no explicit when-to-use versus when-not-to-use guidance or named alternative like search_palettes.

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