Skip to main content
Glama

Find Named Colours by Hex Code

query_hex
Read-only

Find the closest named archive colours to any hex value, using CIEDE2000 perceptual distance for accurate colour matching.

Instructions

Find the closest named archive colours to a hex value using CIEDE2000 perceptual distance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hexYesHex value with or without # e.g. '#8B4513'
n_resultsNoNumber of results (default 5)
archiveNoOptional: restrict to a named archive

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
resultNo
errorNo
Behavior4/5

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

Annotations already indicate readOnlyHint=true, and the description adds the key behavioral detail of using CIEDE2000 perceptual distance to find closest matches. It does not contradict annotations and provides enough context for understanding the tool's behavior.

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?

The description is a single sentence with no wasted words, directly conveying the core functionality. It is optimally concise.

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?

Given the low complexity (3 parameters, no nested objects) and presence of an output schema, the description adequately covers the tool's purpose. Minor improvements could include error handling or edge cases, but it is sufficiently complete.

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 all parameters are already described. The description adds no additional meaning beyond the schema, but it does reinforce that the hex parameter is a color value. Baseline score of 3 is appropriate.

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 clearly states the verb 'Find' and the resource 'closest named archive colours to a hex value', and specifies the method 'CIEDE2000 perceptual distance'. This is specific and distinguishes it from sibling tools like colour_namer or colour_compare.

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?

The description does not provide explicit guidance on when to use this tool versus alternatives (e.g., colour_namer, colour_compare). While the name and description imply hex-based lookup, no usage context or exclusion criteria are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DigbyO/colour-memory-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server