Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

devutils_color_convert

Color conversion HEX/RGB/HSL. $0.005 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: GET https://exchangerebel.com/toll/devutils/color/convert.

Input Schema

NameRequiredDescriptionDefault
hexNoHex color

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?

Goes well beyond the annotations by disclosing cost ($0.005/call), the payment rail (USDC on Solana via x402), and the non-obvious two-step challenge/retry protocol. That is exactly the auth/payment context an agent cannot infer. It does not explain the output shape or what happens if payment is declined, keeping it from a 5.

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?

Purpose is front-loaded in the first clause, then cost and invocation mechanics. The x402 parenthetical is dense but every element is load-bearing for actually calling the tool. Slightly heavy for a one-parameter converter, but not padded.

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?

No output schema exists, so the description should say what a successful call returns (an HSL/RGB string? an object with all three?) and it doesn't. The payment mechanics are fully covered, but return value and zero-argument behavior are left undefined for a tool the agent must interpret results from.

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 there is only one optional parameter ('hex': 'Hex color'), so the schema carries the load and baseline 3 applies. The description adds nothing about accepted input shapes (with/without '#', 3 vs 6 digits) or the case where hex is omitted entirely.

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 the resource and operation precisely: 'Color conversion HEX/RGB/HSL'. An agent knows it's a color-format converter, distinct from siblings like devutils_units_convert or devutils_fx_convert. It stops short of specifying direction/return format, but the verb+resource is unambiguous.

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?

No explicit when-to-use or when-not guidance versus alternative conversion tools. However, it does give invocation guidance that matters for selection: the payment handshake (call once to get PaymentRequired, retry with _meta["x402/payment"]) and an HTTP fallback URL. Usage is implied rather than scoped.

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