Skip to main content
Glama

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

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds minimal behavioral context beyond that, only implying a conversion operation. It does not specify the return format or any edge cases, so the burden on the description is low given annotations, but it does not add rich context.

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 with no filler. The primary action is front-loaded, and the critical usage constraint is stated immediately. Every word earns its place.

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 simple three-parameter tool with no output schema, the description covers the essential purpose and the exclusivity rule. However, it does not describe the output format (e.g., what the converted values look like), which is a minor gap. Given the tool's simplicity, this is nearly 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%, with each parameter already documenting its format and the exclusivity rule. The tool description merely restates the exclusivity constraint, adding no new semantic information beyond the schema. Baseline of 3 is appropriate when the schema fully documents parameters.

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'), a resource ('color'), and the exact formats involved (hex, RGB, HSL). This clearly distinguishes it from all sibling tools, which are unrelated utilities. No ambiguity about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly instructs the caller to 'Provide exactly one of hex, rgb or hsl', which is clear usage guidance. It does not mention alternatives because none exist among siblings, but the exclusivity constraint is stated both in the description and schema, making the usage rule unambiguous.

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.