Skip to main content
Glama

Qodnai x402 Security Intelligence

secure_random

Cryptographically secure random integer, hex token or UUID. Price $0.001. Paid calls are relayed to the x402 endpoint; never send private keys to this server.

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": "secure_random"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
minNo
typeNointeger
x_paymentNoOptional legacy X-PAYMENT header value. Never send a private key.
payment_signatureNoOptional x402 v2 PAYMENT-SIGNATURE header value obtained after the first call returns the live 402 challenge. Never send a private key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 the two non-obvious behaviors: the $0.001 cost and the x402 relay with its private-key warning. It says nothing about what min/max do, whether the hex value has a configurable length, whether the call fails without payment, or what the returned value looks like.

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?

Three short sentences, capability first, then cost, then the safety warning, so the important parts are front-loaded. Every sentence carries information; only the missing verb makes the opening slightly less crisp than it could be.

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 and no annotations mean the description is the only source of truth, and it never describes the return value shape or the payment handshake in full (the 402-challenge flow is relegated to schema text). Adequate for a simple generator but incomplete on the unlabeled min/max parameters.

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 40%, so the description must compensate and only partially does: it maps the three enum values to human-readable outputs, but min and max (2 of 5 params) are completely unaddressed in both schema and description, so an agent cannot tell whether they apply only to the integer type or bound a hex length.

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?

Names the concrete resource and its three output flavors (random integer, hex token, UUID) with the 'cryptographically secure' qualifier, which is enough to distinguish it from every listed sibling (price feeds, scanners, readers). It never states the verb explicitly ('generate'), leaving the action implied by the noun phrase.

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?

Gives practical guidance for the paid path: calls are relayed to an x402 endpoint and a private key must never be sent. That is operational guidance, not when-to-use guidance; nothing says when to pick integer vs hex vs uuid, or what happens on the free/first call. Usage is inferable but not spelled out.

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.