Skip to main content
Glama

Traditional Colors

Name a hex color

nearest_colors
Read-onlyIdempotent

Given a hex code, return the closest traditional colors by CIEDE2000 color difference (delta_e). Use it to answer "what is this color called in Japanese tradition?".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hexYes#RRGGBB or #RGB
limitNo
cultureNoCulture id from list_cultures (e.g. japanese, chinese, western) or its name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description adds real behavioral value beyond them by disclosing the ranking method (CIEDE2000 delta_e), telling the agent results are deterministically ordered by perceptual distance. It does not mention rate limits or result-shape details, keeping it from a 5.

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?

Two tight sentences: the mechanism is front-loaded and the usage example follows. Every sentence earns its place with no filler.

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?

No output schema exists, but 'return the closest traditional colors' plus the default limit of 5 conveys the shape (a ranked list). What is missing is whether each entry includes a color name, its hex, and delta_e, and how culture falls back when omitted.

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 67%: hex and culture are described in the schema, while limit (default 5, 1-20) is only constrained, not explained. The description hints at culture via the Japanese-tradition example but adds no syntax or semantics beyond what the schema already provides, so 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 specific verb+resource: maps a hex code to the closest named traditional colors, and even names the distance metric (CIEDE2000 / delta_e). This implicitly contrasts with find_color (name-to-hex direction), but no sibling is named explicitly, so it stops short of a 5.

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 quoted example ('what is this color called in Japanese tradition?') gives a concrete usage context, which is better than nothing. However, it never states when NOT to use this tool or that find_color / list_colors are the alternatives for the reverse or enumeration cases.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources