Skip to main content
Glama

x402-cumulative-sum

Cumulative Sum: Cumulative sum 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 burden. It does disclose a pricing/auth trait (5 free trial calls per signed wallet), which is genuinely useful. But it says nothing about the return shape (same-length running array vs. a single total), ordering, or how the input string is parsed — the core behavioral facts an agent needs.

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?

Two short sentences, front-loaded with the operation, with no filler. The second sentence is a quota banner rather than tool semantics, but it is brief and does not obscure the core statement.

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

Completeness4/5

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

For a one-parameter math utility with no output schema and no annotations, only a modest amount of prose is needed; the description states the operation and the billing/auth model. It is docked for omitting the critically ambiguous input format and the fact that a running array (not a scalar) is returned.

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% for the single parameter "values", whose type is merely declared as string. The description never explains the expected encoding (comma-separated list, JSON array text, whitespace-delimited) or what an empty/absent value means, leaving the agent to guess at the only input.

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?

"Cumulative Sum: Cumulative sum of an array" states a specific operation and resource, so the basic purpose is legible. However, the sibling list contains near-identical tools (x402-cum-sum-array, x402-running-total, x402-cumulative-max/min/product), and the description makes no attempt to distinguish this tool from them.

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 over x402-cum-sum-array or x402-running-total, nor any note on preconditions. The only added sentence concerns free trial quota, not usage selection.

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