x402-spearman-rank
Spearman Rank: Computes the Spearman rank correlation between two equal-length arrays 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| x | No | ||
| y | No |
Spearman Rank: Computes the Spearman rank correlation between two equal-length arrays 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| x | No | ||
| y | No |
Changes observed during successful MCP inspections.
Input schema / properties / a / descriptionRemoved value: -"A to process"Input schema / properties / b / descriptionRemoved value: -"B to process"Input schema / properties / x / descriptionRemoved value: -"X to process"Input schema / properties / y / descriptionRemoved value: -"Y to process"Input schema / properties / aAdded value: +{
+ "description": "A to process",
+ "type": "string"
+}Input schema / properties / bAdded value: +{
+ "description": "B to process",
+ "type": "string"
+}Input schema / properties / xAdded value: +{
+ "description": "X to process",
+ "type": "string"
+}Input schema / properties / yAdded value: +{
+ "description": "Y to process",
+ "type": "string"
+}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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.