Skip to main content
Glama

x402-grayscale

Grayscale: Converts a hex color given in hex or color to a grayscale hex using 0.299/0.587/0.114 luma weights 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
hexNo
colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / color
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / hex
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden; it usefully discloses the exact conversion formula and the pricing model ('5 free trial calls per signed wallet'). However, it says nothing about what happens with invalid/non-hex input, whether both parameters may be supplied, or the shape of the returned value.

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?

A single front-loaded sentence conveys the operation, algorithm, and input options, followed by a short pricing note. Nothing is buried; the only marginal content is the emoji-laden promo, which still carries real pricing information.

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?

For a tool with no annotations, no output schema, and 0% schema coverage, the definition should be richer. It explains the transformation but leaves output format, parameter precedence, and error behavior unstated, so an agent cannot fully predict the response.

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 0%, so the two properties 'hex' and 'color' are undocumented in structured form. The description partially compensates by implying the input can be a hex color supplied via either field, but it doesn't say whether the fields are mutually exclusive, which takes precedence, or the accepted string format.

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 and resource ('Converts a hex color ... to a grayscale hex') and even specifies the algorithm (0.299/0.587/0.114 luma weights), so an agent knows exactly what output to expect. It does not explicitly distinguish itself from near-neighbours such as x402-color-converter, x402-monochromatic, or x402-hex-to-rgb, which prevents 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 Guidelines2/5

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

There is no guidance on when to choose this over the many color-related siblings (color-converter, monochromatic, shade, tint, hex-to-rgb). The phrase 'given in hex or color' hints at the input options but is about parameters, not tool selection. No exclusions or prerequisites are stated.

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