x402-nth-smallest
Nth Smallest: Returns the nth smallest number in a list, counting from 1 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| values | No |
Nth Smallest: Returns the nth smallest number in a list, counting from 1 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| values | No |
Changes observed during successful MCP inspections.
Input schema / properties / n / descriptionRemoved value: -"N to process"Input schema / properties / values / descriptionRemoved value: -"Values to process"Input schema / properties / nAdded value: +{
+ "description": "N to process",
+ "type": "string"
+}Input schema / properties / valuesAdded value: +{
+ "description": "Values to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It discloses the payment model (5 free trial calls per signed wallet), which is genuinely useful, but says nothing about behavior when n exceeds list length, how ties/duplicates are handled, or whether n is 1-indexed on out-of-range input.
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?
One front-loaded sentence stating the operation, followed by a short payment note. No wasteful filler; the only blemish is that the trial-call emoji line is appended without a clear structural boundary.
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?
With no annotations, no output schema, and no parameter descriptions, the description should compensate more than it does. The critical missing piece is the string encoding of the values list; the return shape and error behavior for invalid n are also unaddressed.
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% and neither parameter is required. The phrase 'in a list' hints at the values input, but the schema types both n and values as strings — the description never says values is a comma-separated string rather than a JSON array, which is the single most important invocation detail. It also gives no bounds or format for n.
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 and resource ('Returns the nth smallest number in a list') and clarifies ordering semantics with 'counting from 1'. It implicitly distinguishes itself from the sibling x402-nth-largest, though it never names that alternative explicitly.
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?
No when-to-use or when-not-to-use guidance is given. With siblings like x402-nth-largest, x402-find-min, and x402-sort-numbers available, the agent gets no signal for choosing among them beyond the word 'smallest'.
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.