Skip to main content
Glama

x402-cumulative-min

Cumulative Min: Cumulative minimum of an array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.9/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 of behavioral disclosure, and it discloses nothing: no input format, no ordering/tie handling, no output shape, no error behavior (e.g. empty array). For an unannotated tool the description should do far more than name the function.

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?

One short, front-loaded sentence with no padding. It is efficient, though it verges on restating the tool name and cannot be called information-dense.

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 trivial one-parameter math utility with no annotations and no output schema, the description still leaves the most consequential unknowns open: how values are encoded in the string parameter and what the result looks like. Minimal adequacy at best.

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?

With a single parameter at 100% schema description coverage, the baseline is 3. The description implies the input is an array while the schema types it as a plain string, which paradoxically leaves the accepted format (comma-separated? JSON?) less clear rather than clearer; no additional parameter meaning is supplied.

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 states a specific operation on a specific resource: the cumulative minimum of an array. An agent can tell what it computes. However, it does not distinguish itself from the many adjacent siblings (x402-cumulative-max, x402-cumulative-sum, x402-cumulative-product, x402-cum-product-array), so selection still requires name-matching rather than description-driven reasoning.

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 use this versus the sibling cumulative/rolling variants, nor any precondition or exclusion. The description gives the semantics of the operation but zero routing guidance.

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