Skip to main content
Glama
Color Theory MCP Server

Color Theory MCP Server

calculate-temperature

Convert Kelvin color temperature to sRGB color values, or estimate a color's correlated temperature. Solves color-temperature matching for lighting, design, and photography.

Instructions

Convert between color temperature (Kelvin) and color, or estimate a color's temperature

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate-temperature"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoA color to estimate the correlated color temperature of
kelvinNoA Kelvin value to convert to its corresponding sRGB color

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/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 behavioral burden, and it does not disclose return shape, what happens if both or neither parameters are supplied, or validation/error behavior. It implies a pure calculation but does not state that changes are side-effect-free or explain the conversion semantics beyond the one-liner.

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?

The definition is a single well-formed sentence that front-loads the conversion and then adds the estimation mode. There is no redundant 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?

For a simple two-parameter calculation tool, the description is adequate but leaves important invocation gaps: both parameters are optional, yet the description does not explain behavior for zero or two inputs. With no output schema, it also omits the return format, which an agent would need in order to use the result.

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%, and the schema already explains that color estimates correlated color temperature and kelvin converts to sRGB. The description does not add parameter-level meaning such as valid Kelvin ranges, accepted color formats, or precedence rules beyond what the schema provides.

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 states a specific two-way conversion between Kelvin color temperature and color, plus estimation of a color's temperature. That makes the tool's core purpose clear, but it does not distinguish this from sibling conversion/inspection tools such as convert-color or get-color-info.

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?

The two modes imply when to use each parameter: pass kelvin to get sRGB, or pass color to estimate temperature. However, there is no explicit guidance about when this tool is preferable to sibling conversion tools and no warning about which parameter takes precedence if both are supplied.

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