x402-sort-strings
Sort Strings: Sort strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Sort Strings: Sort strings.
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Changes observed during successful MCP inspections.
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, and it discloses nothing: no output format, no sort order, no case/locale handling, no note that 'values' is a single string rather than an array, and no hint of how multiple strings would be delimited.
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?
It is short, but this is under-specification rather than earned conciseness. The one line conveys no information beyond the tool name, so no sentence earns its place.
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 output schema, no annotations, and a single vaguely named string parameter, the definition leaves critical questions unresolved: how input strings are supplied, what sort order is applied, and what the return value looks like. It is not callable with confidence.
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 100%, but the sole parameter's schema text is itself generic ('Values to process'), and the description adds no meaning beyond it — for instance, whether the string is delimited by commas or newlines. Per the high-coverage baseline this sits at 3.
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?
The description is essentially a tautology: it restates the tool name 'Sort Strings' as 'Sort Strings: Sort strings.' with no additional specificity. It does not distinguish this tool from close siblings such as x402-sort-lines, x402-sort-numbers, or x402-sorted-array.
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 guidance on when to use this tool versus related sorters (sort-lines, sort-numbers, is-sorted, sorted-array), nor on ordering, locale, or case sensitivity. The agent must guess the intended context.
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.