x402-is-sorted
Is Sorted: Checks whether values (array or comma list) is non-decreasing; empty input counts as sorted 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Is Sorted: Checks whether values (array or comma list) is non-decreasing; empty input counts as sorted 🆓 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"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It usefully discloses the comparison semantics ('non-decreasing') and an edge case ('empty input counts as sorted'), but says nothing about the return shape, error behavior, or what happens with malformed input. The '5 free trial calls per signed wallet' clause is payment metadata, not behavioral disclosure.
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 with the essential predicate definition in one sentence and the empty-input edge case immediately after. The trailing trial-call promo and emoji are extraneous but brief, so waste is minimal.
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?
No annotations and no output schema, so the description must cover behavior; it covers input formats and the empty edge case but never states that the result is a boolean or how the verdict is returned. For a simple predicate tool this is adequate but not complete.
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 parameter 'values' is typed only as string in the schema. The description adds real value by stating accepted formats ('array or comma list'), partially compensating. It still does not specify the delimiter handling or numeric vs string comparison rules.
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 ('Checks') and resource ('values') and defines the predicate precisely as 'non-decreasing', which is more specific than the bare name. It does not explicitly distinguish itself from sort-family siblings like x402-sorted-array or x402-sort-numbers, leaving the agent to infer it is the boolean predicate rather than a sorting operation.
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 and no reference to alternatives, despite a crowded sibling space (x402-sorted-array, x402-sort-numbers, x402-sort-lines, x402-sort-strings). The agent must infer that this tool returns a boolean check rather than sorting anything.
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.