Skip to main content
Glama
HtetOoWaiYan

Colors MCP Server

by HtetOoWaiYan

Batch Convert Colors

colors_batch_convert
Read-onlyIdempotent

Convert multiple colors to a target color space such as hex, rgb, hsl, or oklch in one call. Ideal for frontend developers needing consistent color formats.

Instructions

Convert multiple colors to a target color space

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget color space
colorsYesList of color strings to convert
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, and destructiveHint=false, so the safety profile is covered without the description. The description adds nothing beyond that — it doesn't mention the 50-item limit, error handling for unparseable inputs, or output shape, leaving the behavioral burden entirely on structured fields.

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, well-formed sentence with the action and scope front-loaded and zero filler. It is efficient, though its brevity is partly under-specification rather than pure conciseness.

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 read-only conversion tool with full schema coverage and no output schema, the description is minimally adequate. However, it omits the batch size limit and how per-item failures are reported, both of which an agent managing a 50-item batch would benefit from knowing.

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%, including enum values for 'to', item format examples for 'colors', and the 0-10 precision range, so the baseline is 3. The description restates the target color space concept but adds no format or syntax detail the schema lacks.

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 (Convert) and resource (colors), plus the key scope modifier 'multiple' and the target being a color space. This implicitly distinguishes it from the single-color colors_convert sibling, though it never names or contrasts that sibling explicitly.

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?

No guidance on when to use batch conversion versus colors_convert or colors_parse, no mention of the 50-color cap, and no prerequisites or exclusions. The agent must infer usage purely from the word 'multiple'.

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