x402-sorted-array
Sorted Array: Sorts an array of numbers ascending 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Sorted Array: Sorts an array of numbers ascending 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Changes observed during successful MCP inspections.
Input schema / properties / values / descriptionRemoved value: -"Values to process"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 sort direction (ascending) and a pricing note, but says nothing about input encoding, output format, tie handling, or error behavior for non-numeric 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?
The core statement is front-loaded and very short. The trailing free-trial emoji promo is marketing noise rather than agent-useful content, but it costs little.
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 an undocumented string parameter, the description should specify input encoding and return shape. It instead spends its remaining words on a promotional line, leaving the calling contract underspecified.
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 coverage is 0% and the single 'values' parameter is typed as a string with no description, while the description says 'array of numbers'. That partially clarifies intent but does not resolve how the array is encoded in a string (comma-separated? JSON?), which is exactly what an agent needs.
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 plus the ordering direction (ascending), so the agent knows exactly what operation is performed. However, it does not distinguish itself from the near-identical sibling x402-sort-numbers, leaving ambiguity about which sort tool to pick.
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 guidance, no prerequisites, and no mention of alternatives. Given that x402-sort-numbers, x402-sort-lines, and x402-sort-strings all exist in the sibling list, the absence of routing guidance is a real gap.
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.