Skip to main content
Glama

x402-cumulative-max

Cumulative Max: Cumulative maximum of an array. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses almost nothing beyond the operation itself. It does not say what is returned (an array of running maxima presumably), how a single value or empty input behaves, whether order is preserved, or that the call is a paid x402 endpoint beyond the trial note.

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?

The operative sentence is front-loaded and wastes no words. The trailing '🆓 5 free trial calls per signed wallet' is quota marketing rather than tool semantics, but it is short enough not to obscure the purpose.

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 one-parameter computational tool with no annotations and no output schema, the description should at minimum pin down the string encoding of 'values' and the shape of the result. Neither is present, leaving the agent to guess at both the input format and the return value.

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% and the description adds nothing about the single 'values' parameter, which is typed as a string with no format hint. An agent cannot tell whether to pass a comma-separated list, a JSON array literal, or whitespace-separated numbers, which is a material ambiguity for an array tool.

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 pairs a concrete operation verb with its resource: 'Cumulative maximum of an array,' which is unambiguous about what is computed. It does not distinguish itself from the many near-identical siblings in the list (x402-cumulative-min, x402-cumulative-sum, x402-cumulative-product, x402-cum-max-array variants), so an agent still has to infer that 'max' rather than 'min' or 'sum' is the right choice.

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 use this versus the closely related cumulative/rolling/array-stat siblings. No prerequisites, no input expectations, and no exclusions are stated; the only extra sentence concerns free trial quota, not usage.

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