Skip to main content
Glama

random_color

One or more random colours in hex, RGB and HSL, optionally limited to pastel or dark tones. Use for placeholders, avatars and design ideas. Costs $0.001 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toneNoany (default), pastel or dark
countNoHow many (1-50, default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations cover only safety hints (readOnly=false, idempotent=false, openWorld=true), which is expected for a generator. The description adds the critical non-annotation detail: each successful call costs $0.001 USDC on Base via x402, and payment is per *successful* call — essential information an agent cannot infer from any structured field.

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 output formats and the tone restriction before the usage cases and the pricing caveat. No filler.

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?

No output schema exists, but the description names the returned formats (hex, RGB, HSL) and discloses cost/billing, which is the main thing an agent needs beyond the schema. It leaves unaddressed the shape of multi-colour responses and what happens when a paid call fails, keeping it just below a 5.

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 coverage is 100% and already documents both `tone` (any/pastel/dark) and `count`. The description only restates these ("one or more", "pastel or dark tones") without adding syntax, default behaviour, or edge cases, so the baseline of 3 applies.

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 specific verb+resource (generate random colours) and the output formats produced (hex, RGB, HSL), plus the optional tone restriction. This distinguishes it from colour-parsing/manipulation siblings like `color` and `color_contrast`, though those siblings are never named.

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?

"Use for placeholders, avatars and design ideas" gives explicit situational context. It stops short of exclusions or pointing at alternatives (e.g. use `color` when you need a specific colour rather than a random one), so it does not reach the 5 tier.

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