Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-rolling-max

Rolling Max: Rolling maximum. Takes values and window (default 3). Returns the rolling maxima as result. 🆓 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-rolling-max"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNo
windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
    • removedInput schema / properties / window / description
      Removed value: -"Window to process"
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and discloses little: no mention of permissions, whether the operation is read-only, how short inputs shorter than the window are handled, or what the paid behavior is beyond the 5 free trial calls per signed wallet. The billing line is useful context, but the computational behavior remains opaque.

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 short and front-loaded, but the opening clause is a redundant restatement of the name and the promotional emoji line occupies space that could have carried parameter-format detail. Nothing is bloated, but not every sentence earns its place.

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 two-parameter, stateless numeric utility with no output schema, the description is minimally sufficient to guess intent, but it omits input encoding, window edge-case behavior, and return structure ("as result" is vague about length and alignment with the input). A little more would make it callable without trial and error.

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?

Schema coverage is 0%, so the description must compensate for two undocumented parameters. It adds only the default for window (3), which the schema lacks, but says nothing about how `values` is encoded as a string (CSV? JSON array?) or whether window counts trailing elements or something else — the most important ambiguity for correct invocation is left unresolved.

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

Purpose3/5

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

The first two clauses ("Rolling Max: Rolling maximum") merely restate the tool name, but "Takes values and window (default 3). Returns the rolling maxima" does confirm it computes a trailing window maximum. It never distinguishes itself from close siblings such as x402-rolling-min or x402-cumulative-max, so an agent must infer the difference from names alone.

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 statement of when to prefer this over x402-cumulative-max, x402-find-max, or x402-rolling-min, nor any prerequisite or exclusion. The only guidance-like content is the incidental default of window=3.

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.