Skip to main content
Glama

Random colour

random_color
Read-only

One or more random colours in hex, RGB and HSL, optionally limited to pastel or dark tones. Use for placeholders, avatars and design ideas. Example: count=3. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, non-idempotent and non-destructive, but the description adds genuinely new operational context: per-call cost ($0.01 via x402 USDC or card key), the first 25 calls free, and that failed calls are not charged. That reinforces the idempotentHint=false consequence in a way annotations cannot.

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 and formats come first, then use cases, then billing — a sensible front-loading order with no wasted clauses. The billing sentence is long and packs several facts (price, payment rails, free tier, refunds), slightly weighing down an otherwise tight definition.

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?

With no output schema, the description usefully names the return formats (hex, RGB, HSL), and it covers cost and safety behavior. The only minor gap is that the count range and default are left entirely to the schema, but that is acceptable given full schema coverage and simple annotations.

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 both parameters are documented in the schema (tone: any/pastel/dark; count: 1-50, default 1). The description only restates the tone restriction and shows an example call, adding little beyond the structured fields, so the baseline 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) plus the output formats (hex, RGB, HSL) and the tone restriction, which is more precise than the sibling 'color' or 'color_contrast' converters. It does not explicitly say how it differs from those siblings, so it stops short of a 5.

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?

"Use for placeholders, avatars and design ideas" gives implied usage contexts, and the "Example: count=3" shows invocation. There is no explicit when-not guidance and no pointer to alternatives like 'color' or 'color_contrast', so the agent must infer the boundary itself.

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.