Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-rolling-min

Rolling Min: Rolling minimum. Takes values and window (default 3). Returns the rolling minima as result. 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "values": "<values>"
    },
    "name": "x402-rolling-min"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYes
windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "values",
      -  "window"
      -]New value: +[
      +  "values"
      +]
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "values"
      -]New value: +[
      +  "values",
      +  "window"
      +]
  3. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "values"
      +]
  4. Changed2 schema fields changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
    • removedInput schema / properties / window / description
      Removed value: -"Window to process"
  5. 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 of disclosure. It does reveal one useful behavioral detail — window defaults to 3 — but says nothing about output shape, how short inputs or non-numeric values are handled, or what the 'result' field looks like, despite claiming to return results.

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 restatement of the name is wasted, and the free-trial marketing line occupies space that could have described the input format.

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?

For a computational tool with an ambiguous string-typed input, no output schema, and no annotations, the definition is under-specified. An agent could not reliably construct a valid 'values' argument from this text alone.

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 description coverage is 0% and both parameters are typed as strings, so format is the critical unknown: the description never says whether 'values' is a comma-separated list, a JSON array, or whitespace-delimited. It does supply the default for window (3), which is real added meaning, but leaves the more consequential format question unanswered.

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 name is restated as 'Rolling Min: Rolling minimum', which is pure tautology, but the following sentence clarifies the operation: it takes values and a window and returns rolling minima. That is a specific computation, yet nothing distinguishes it from close siblings like x402-cumulative-min or x402-rolling-max beyond the label itself.

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 cumulative-min, find-min, or rolling-max. The reader must infer the distinction from the tool name alone, and no prerequisites, edge cases, or exclusions 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.