Skip to main content
Glama

x402-diff-array

Diff Array: Returns the consecutive differences between adjacent numbers in a values list 🆓 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 exist, so the description carries the full behavioral burden, yet it discloses nothing about error handling for non-numeric input, behavior with a single value or empty list, or the shape of the returned differences. The only extra fact given is the free-trial quota, which is pricing, not behavior.

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 compact sentence with the operation front-loaded; no filler text. The appended promotional emoji/pricing clause is slight noise but does not obscure the core definition.

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 tool with no annotations, no output schema, and a completely undocumented parameter, the description should at minimum specify input encoding and result shape. It does neither, so an agent cannot reliably call it correctly 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 description coverage is 0% and the single parameter 'values' is typed as a plain string, so the description's phrase 'values list' does not resolve the critical ambiguity: is input comma-separated, space-separated, or a JSON array string? Nothing clarifies the delimiter or accepted formats, leaving the agent to guess how to invoke the 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?

States a specific verb (diff) and resource (array) and explains the semantics: consecutive differences between adjacent numbers in a values list. It does not differentiate itself from sibling list/array math tools such as x402-difference, x402-percent-change-array, or x402-cum-sum-array, but the core purpose is unambiguous.

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 when-to-use guidance, no statement of prerequisites, and no reference to any alternative tool. The '🆓 5 free trial calls per signed wallet' note is billing information rather than usage guidance, so an agent gets no help deciding between this and neighboring array utilities.

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