Skip to main content
Glama
HtetOoWaiYan

Colors MCP Server

by HtetOoWaiYan

Convert Color

colors_convert
Read-onlyIdempotent

Convert any color string to a specified color space like hex, RGB, HSL, or OKLCH, with adjustable decimal precision.

Instructions

Convert a color to a different color space

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget color space
colorYesColor string in any supported format (e.g., "#ff0000", "red", "rgb(255, 0, 0)", "oklch(0.6 0.2 29)")
precisionNoDecimal places for output values (0-10)

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?

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered without the description. The description adds no behavioral context beyond the title restated — nothing about invalid input handling, unsupported formats, or precision defaults (those live only in the schema).

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, which is efficient. It is arguably undersized for the tool's routing needs, but the dimension measures wasted words and there are none.

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, fully documented, annotation-covered single-operation tool, a one-line description is minimally adequate. It still omits how invalid or unparseable colors are handled and how it relates to the sibling parse/batch tools, which an agent needs for correct selection.

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 documents the target-space enum, example color strings, and precision range, so the description adds no parameter meaning. Baseline 3 applies when the schema does the heavy lifting.

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 verb and resource ('Convert a color') plus the scope ('to a different color space'), so the purpose is unambiguous. It does not differentiate from siblings, notably colors_batch_convert (bulk variant) or colors_parse, leaving the single-color vs batch distinction to inference.

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 use this versus colors_batch_convert, colors_parse, or colors_adjust. No prerequisites, no exclusions, no alternatives are named.

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