Skip to main content
Glama

color_names

Turn a hex code into its nearest named colour. Pure CPU, instant.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "color_names"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesHex code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Hex code",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "q"
      +]
  4. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one genuinely useful trait: 'Pure CPU, instant', telling the agent this is a local, deterministic, non-networked computation. It does not disclose the important behaviours, such as what happens on malformed input, whether a leading '#' is required, whether 3-digit shorthand is accepted, or how ties between equidistant colour names are broken.

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 short sentences with zero filler; the core operation is front-loaded and the performance note is compressed into three words. Nothing is repeated from the schema or wasted.

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?

For a one-parameter pure utility with complete schema coverage and no output schema, this is close to sufficient: the agent knows what goes in, roughly what comes out, and that the call is cheap. The residual gap is input formatting rules and the ambiguity of 'nearest', which are modest for a tool of this simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is documented as 'Hex code', so the description's 'Turn a hex code' aligns with it. It adds nothing beyond that, but with one fully documented parameter the baseline of 3 is raised slightly since the description confirms the input domain without contradicting the schema.

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 concrete transformation: hex code in, nearest named colour out. That is far better than restating the name, but the description never distinguishes it from sibling tools with overlapping names (color_name_lookup, color, color_harmony), so an agent cannot tell from the text alone which of those to pick.

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?

There is no when-to-use or when-not-to-use guidance and no mention of the obvious alternative color_name_lookup, which reads as the same function. The only implicit signal is 'nearest', suggesting approximate matching rather than exact lookup, but that routing distinction is never made explicit.

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