Skip to main content
Glama

x402-spearman-rank

Spearman Rank: Computes the Spearman rank correlation between two equal-length arrays 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
xNo
yNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / x / description
      Removed value: -"X to process"
    • removedInput schema / properties / y / description
      Removed value: -"Y to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / x
      Added value: +{
      +  "description": "X to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / y
      Added value: +{
      +  "description": "Y 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?

With annotations absent, the description carries the full burden. It does disclose one real constraint (the two arrays must be equal-length) and the payment model, but says nothing about the return shape, behavior on unequal or non-numeric input, or error modes for a computation tool.

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?

Front-loaded single sentence with the operation and its key constraint stated first; the pricing clause is appended clearly. Slightly padded by the emoji-plus-trial-call marketing text that does not help invocation.

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 4-parameter, zero-coverage, no-annotation, no-output-schema tool, the description is too thin: input encoding, return value, and handling of mismatched array lengths are all unstated. An agent would have to guess how to form a valid call.

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% across four parameters (a, b, x, y), so the description must compensate. It only says 'two equal-length arrays', which does not resolve why there are four params or what format each expects (CSV, JSON, space-delimited?), leaving the a/b vs x/y mapping ambiguous.

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 (computes) and resource (Spearman rank correlation between two equal-length arrays), which is precise enough to distinguish it from generic stats tools like x402-correlation. It does not, however, contrast itself with the many nearby siblings such as x402-correlation-coefficient or x402-r-squared.

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 exclusions, and no pointer to alternative correlation tools in this very large sibling set. The only usage-adjacent text is the pricing note ('5 free trial calls per signed wallet'), which is commercial rather than operational 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