Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-random

Random: Generate cryptographically secure random values in hex, base64 or base64url — for nonces, salts, keys, or any random number you need. 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-random"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / length / description
      Removed value: -"Length to process"
  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 full burden, and it does disclose two important traits: cryptographic security and a paywall ('5 free trial calls per signed wallet'). It omits the default length, how the output encoding is chosen given no such parameter exists, and what the response looks like (no output schema).

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?

Two tight sentences with the core capability front-loaded, followed by use cases and pricing. The emoji-laden trial-call sentence is somewhat promotional but does convey a real invocation-relevant constraint.

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 one-parameter tool with no annotations and no output schema, the description covers purpose and safety/security well but leaves key gaps: default length, output encoding selection, and response shape. It is adequate but not sufficient to call the tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single optional parameter 'length' has 0% schema description coverage and is never mentioned in the description. Worse, the description advertises hex/base64/base64url output options that have no corresponding parameter in the schema, leaving an agent unsure whether encoding is selectable or fixed.

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: 'Generate cryptographically secure random values' with three output encodings (hex, base64, base64url). This distinguishes it from siblings like x402-random-word or x402-random-color, which produce semantically-shaped randomness, though no sibling is named explicitly.

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?

Concrete use cases are listed (nonces, salts, keys), which implies when to reach for generic random bytes. However, there is no guidance on when to use this versus the many themed random siblings, no default behavior if length is omitted, and no explanation of how an encoding is selected.

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.