Skip to main content
Glama
Color Theory MCP Server

Color Theory MCP Server

mix-colors

Combine two colors at a chosen ratio to create a blended result, and optionally generate a multi-step gradient for palettes or transitions.

Instructions

Mix two colors together with optional gradient generation

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": {
      "color1": "<color1>",
      "color2": "<color2>"
    },
    "name": "mix-colors"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratioNoMix ratio (0 = 100% color1, 1 = 100% color2, 0.5 = equal mix)
stepsNoIf provided, generate a gradient with this many steps
color1YesFirst color
color2YesSecond color

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/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 disclosure burden. It says nothing about accepted color input formats (hex, rgb, named colors), the format of the returned mixed color, whether the operation is pure/computational with no side effects, or how the gradient steps interact with the ratio — all of which matter for a color utility with sibling validation tools.

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, correctly leading with the primary operation before the optional one. It is arguably too short given the disclosure gaps, but there is no wasted wording.

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?

The tool is simple and the schema fully documents all four parameters, so the core call is unambiguous. However, for a description-only definition with no annotations and no output schema, it omits input color format conventions and return value shape, leaving the agent to guess at the boundary with generate-gradient.

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%, and the schema already explains ratio semantics (0 = 100% color1, 1 = 100% color2), the steps bounds, and the required color inputs. The description adds no meaning beyond that, so the baseline of 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 ("Mix two colors together") plus an optional capability (gradient generation), which is enough to identify the tool. It does not distinguish itself from the closely related sibling generate-gradient, which appears to cover overlapping ground, so the boundary is left fuzzy.

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 is implied by the operation itself (mix two colors, optionally produce a gradient), but there is no explicit when-to-use or when-not-to guidance. With a sibling named generate-gradient that also produces gradients, the description should have said which one an agent should pick; it does not.

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