Skip to main content
Glama

Color converter

color
Read-onlyIdempotent

Converts a color between hex, RGB and HSL. Provide exactly one of hex, rgb or hsl.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hexNoHex color code, e.g. #ff0000 or ff0000. Provide exactly one of hex, rgb, or hsl.
hslNoHSL color, e.g. 0,100%,50%. Provide exactly one of hex, rgb, or hsl.
rgbNoRGB color, e.g. 255,0,0. Provide exactly one of hex, rgb, or hsl.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / hex / description
      Previous value: -""New value: +"Hex color code, e.g. #ff0000 or ff0000. Provide exactly one of hex, rgb, or hsl."
    • changedInput schema / properties / hsl / description
      Previous value: -""New value: +"HSL color, e.g. 0,100%,50%. Provide exactly one of hex, rgb, or hsl."
    • changedInput schema / properties / rgb / description
      Previous value: -""New value: +"RGB color, e.g. 255,0,0. Provide exactly one of hex, rgb, or hsl."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no behavioral context beyond the input constraint, but it does not contradict annotations either.

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 sentences, front-loaded with the purpose, and the second sentence delivers the critical input constraint. No wasted words.

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

Completeness3/5

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

For a simple converter with rich annotations and full schema coverage, the description is adequate but omits what the tool returns (e.g., the converted color formats). With no output schema, this gap is noticeable, though minor.

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%, and each parameter already includes examples and the 'exactly one' rule. The description merely repeats that constraint, adding no new semantic detail.

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 states a specific verb ('Converts') and resource ('a color') with the three supported formats (hex, RGB, HSL). No sibling tool overlaps, so differentiation is unnecessary.

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?

It provides an input constraint ('Provide exactly one of hex, rgb or hsl'), which is useful, but does not explicitly state when to use this tool versus alternatives or in what contexts. Usage is only implied by the purpose.

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.