Skip to main content
Glama
HtetOoWaiYan

Colors MCP Server

by HtetOoWaiYan

Batch Color Difference

colors_batch_difference
Read-onlyIdempotent

Compare a reference color against multiple candidates to find the nearest match using deltaE or contrast metrics.

Instructions

Calculate difference between a reference and list of colors, finding the nearest match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricNoMetric to calculate (deltaE or contrast)deltaE
referenceYesThe target/reference color
candidatesYesList of colors to compare against the reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds one genuine behavioral detail beyond annotations: it returns the 'nearest match', implying a ranked/best-match result rather than raw pairwise values. It does not describe the output shape or metric-dependent behavior, so it remains modest.

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?

One compact sentence, front-loaded with the core action and ending on the most useful behavioral hint ('nearest match'). No filler, though it is terse enough to leave questions open.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With full schema coverage and a complete read-only annotation set, the only meaningful gap is the return value; there is no output schema, and the description partially compensates by signaling a nearest-match result. Adequate for a simple read-only batch computation.

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%, so reference, candidates, and the metric enum are already fully documented in the schema. The description adds no format specifics (e.g., accepted color notations) beyond what the schema provides, so the baseline 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 clear verb+resource: calculate difference between a reference and a list of colors. The word 'list' distinguishes it from the singular colors_difference sibling, though the description never names 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 pick this over colors_difference (single color) or colors_batch_contrast. The batch scope is only inferable from the name and the plural 'candidates' parameter, not from any stated condition or exclusion.

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