Skip to main content
Glama

Colour name finder

hopi_colour_name_finder
Read-onlyIdempotent

Find the named CSS colour that exactly or most closely matches a hex code, using straight-line distance in RGB space across the 148 named CSS colours. Source: https://hopi.co.uk/colour-name-finder/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hexYesHex colour code, e.g. #DC143C or #F00

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
exactNo
inputNo
namesNo
summaryYes
distanceNo
nearestHexNo
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / required
      Added value: +[
      +  "source_url",
      +  "summary"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar for additional credit is lower. The description adds genuine behavior beyond annotations: the matching is done with straight-line RGB distance (disclosing a non-perceptual approximation), results may be exact OR approximate ('exactly or most closely'), and the colour set size is pinned at 148. The source URL also adds verifiability. No contradiction with annotations.

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?

One tightly written sentence that front-loads the verb, resource, and distinguishing algorithm, then appends a useful source reference. Every element earns its place with zero filler or redundancy.

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

Completeness5/5

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

For a single-parameter, read-only look-up tool with full schema coverage, a strong output schema, and complete annotations, the description is fully adequate. It explains the algorithm, the matching tolerance, and the colour universe (148 named CSS colours). Nothing an agent needs to invoke it correctly is missing.

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 baseline is 3. The schema already documents the hex format via pattern and example (#DC143C or #F00). The description contributes marginal meaning by implying that arbitrary hex values work and will be matched to the closest named colour, but it does not add formatting or syntax detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Find the named CSS colour'), specifies the input (hex code), and the matching method ('straight-line distance in RGB space across the 148 named CSS colours'). This clearly distinguishes it from colour-related siblings such as hopi_hex_to_rgb, hopi_colour_palette_generator, and hopi_colour_picker without needing to inspect their schemas.

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 use case is implied: given a hex code, get its matching named CSS colour. However, the description never names alternatives or states when NOT to use this tool (e.g., versus hopi_hex_to_rgb for RGB conversion or hopi_colour_picker for interactive picking). With many colour-related siblings, explicit routing guidance is absent, leaving selection to inference.

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