A color conversion server that provides deterministic color transformations between RGB, HEX, HSL, and OKLCH color formats.
Spectra MCP Server provides 12 color conversion tools with basic structure. All tools have descriptions (10-60 chars) and explicit input schemas with parameter types. However, descriptions are minimal and lack context for LLM tool selection, they state WHAT the tool does but not WHEN to use it or WHY it matters. Parameters have type definitions but lack descriptive text. Output schemas are undocumented (tools return strings but the format and structure are not formally declared). No error handling guidance. The naming convention is clear and consistent (verb_noun: oklch_to_rgb), avoiding multi-responsibility issues. All tools are read-only, limiting security concerns, but the minimal parameter descriptions ("OKLCH color string") don't explain acceptable formats beyond the tool description's general guidance.
Convert a hex color to an HSL color.
Convert a hex color to an OKLCH color.
Convert a hex color to an RGB color.
Convert an HSL color to a hex color.
Convert an HSL color to an OKLCH color.
Convert an HSL color to an RGB color.
Convert an OKLCH color to a hex color.
Tool descriptions are minimal (10-60 chars). While they state the action (Convert X to Y), they lack context for when to use each tool, prerequisites, or expected use cases. LLMs need descriptions of 50-200 chars with selection guidance to avoid wrong tool choices.
Parameter descriptions are bare type hints only (e.g., 'OKLCH color string', 'RGB color string'). They do not document acceptable formats, examples of valid input, or constraints. The server README mentions flexible parsing (with/without # prefix, spaces or commas), but this guidance is NOT in parameter descriptions where LLMs can see it.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 57 | - | v1 |
Convert an OKLCH color to an HSL color.
Convert an OKLCH color to an RGB color.
Convert an RGB color to a hex color.
Convert an RGB color to an HSL color.
Convert an RGB color to an OKLCH color.
Output schemas are undocumented. Tools return string values (e.g., 'color.to_string()' or 'color.to_string(hex=True)') but the response format is not declared. LLMs do not know if the output is a CSS string, a hex value, or structured JSON. A response_schema or explicit output documentation is missing.
No error handling or recovery guidance. If coloraide.Color() fails on invalid input (e.g., 'rgb(999, 999, 999)' or a malformed hex string), the error message is not visible in the source. Tools should catch parsing errors and return actionable messages like 'Invalid RGB format. Expected "rgb(255, 128, 128)" or "rgb(255 128 128)". Got: "xyz"'.
Tool naming, while clear, may lead to excessive tool count for a narrow domain. 12 tools exist to handle 4 color spaces (RGB, HEX, HSL, OKLCH) in 6 conversion pairs (all bidirectional). Composition check: a single 'convert_color' tool accepting source and target formats would reduce tool proliferation and let the LLM compose conversions more flexibly (e.g., OKLCH → RGB → HEX as a sequence). The current design forces the LLM to pick exactly the right tool or make multiple sequential calls.