Skip to main content
Glama

Text to Color

TexttoColor
Read-only

Text to Color: Text to Color converts natural language color names into hexadecimal color codes. Send descriptive color phrases to receive matching hex values and channel counts, with paid plans adding RGB, HSL, and CMYK formats. (Cost: 1 credit)

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": {
      "color": "<color>"
    },
    "name": "TexttoColor"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesThe text to convert the color from

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already establish read-only, open-world, non-destructive behavior, and the description adds useful operational context: a 1-credit cost and plan-dependent output formats. It could say more about accuracy or ambiguity handling for natural-language colors, but it adds meaningful information beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the cost is compactly noted, so the description is mostly efficient. However, the opening redundantly repeats the tool name and title: 'Text to Color: Text to Color converts...'

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, read-only conversion tool with an output schema, the description provides enough to call it: input kind, output forms, and cost. The main missing context is sibling routing and any caveat about ambiguous or unsupported color phrases.

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 color parameter is documented with an example. The description still adds semantic value by specifying natural-language or descriptive color phrases, which helps an agent understand that the input is a color name or phrase rather than a hex code.

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?

The description states a specific verb and resource: it converts natural language color names into hexadecimal color codes, and it adds output details such as channel counts and RGB/HSL/CMYK formats. It is clear about what the tool does, but it does not explicitly distinguish itself from closely related siblings like ColorConverter or ColorNameFinder.

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?

It tells the agent to send descriptive color phrases, which implies basic usage, but it gives no when-to-use versus when-not-to-use guidance and never mentions the relevant sibling alternatives. An agent must infer the boundary from the tool name alone.

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.