Skip to main content
Glama

x402-random-range

Random Range: Generate a random range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMax to process
minNoMin to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / max
      Added value: +{
      +  "description": "Max to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / min
      Added value: +{
      +  "description": "Min to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing: it doesn't say whether bounds are inclusive, whether output is deterministic per call, whether min/max can be swapped, or what the return shape is. Only the implicit fact that this is a generation (non-mutating) operation is conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short, front-loaded sentence with no filler, but it is under-specified rather than concise — the one sentence spends its words repeating the title instead of disambiguating behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and only string-typed optional params, the description is the sole source of behavioral context — and it provides none. An agent cannot confidently predict the return value or the semantics of min/max.

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%, so the baseline is 3, but the schema descriptions themselves are weak ('Max to process', 'Min to process') and declare both params as strings for what is clearly a numeric range. The description adds nothing to resolve inclusive/exclusive bounds, ordering, or default behavior when the optional params are omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description largely restates the name: 'Random Range: Generate a random range.' It never clarifies the core ambiguity — does it return a single random integer inside [min, max], or an array of values, or the range bounds themselves? No differentiation from siblings like x402-random or x402-range.

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 when-to-use guidance, no indication of when this is preferable to x402-random or x402-range, and no note on defaults when min/max are omitted (both are optional). The agent is left to infer everything.

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