Skip to main content
Glama
Color Theory MCP Server

Color Theory MCP Server

generate-scale

Generates a Tailwind-style 50–950 color scale from a base color, with optional custom steps for building consistent palettes.

Instructions

Generate a Tailwind-style color scale (50-950) from a base 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": {
      "baseColor": "<baseColor>"
    },
    "name": "generate-scale"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoCustom scale steps (default: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950)
baseColorYesBase color to generate scale from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not say whether the operation is pure/side-effect-free, whether output is an array of hex values or an object keyed by step, whether the generation is deterministic, or what happens with invalid color input.

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?

A single front-loaded sentence with no filler; the core resource and its numeric range appear immediately. It is arguably too terse rather than too verbose, but nothing is wasted.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter generator this is close to adequate, and the schema fully documents inputs. However, with no output schema and no annotations, the definition leaves the return structure and behavior of custom steps 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 coverage is 100%, so both parameters are already documented in the schema, including the default step list. The description's '(50-950)' lightly reinforces the default steps but adds no syntax details for the baseColor format or constraints on custom steps. 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 ('Generate'), a specific resource ('Tailwind-style color scale 50-950') and the input it derives from. The 'Tailwind-style 50-950' phrasing gives an agent a concrete notion of the output shape, though it never explicitly distinguishes itself from the many sibling palette generators (generate-palette, generate-accessible-palette).

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over generate-palette, generate-accessible-palette, or generate-harmony, and no prerequisites or exclusions are stated. The agent must infer the use case purely from the phrase 'Tailwind-style color scale'.

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