semver_sort
Sort a list of semver versions ascending or descending. When: Sort semver lists before picking latest/oldest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reverse | No | ||
| versions | Yes |
Sort a list of semver versions ascending or descending. When: Sort semver lists before picking latest/oldest.
| Name | Required | Description | Default |
|---|---|---|---|
| reverse | No | ||
| versions | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It mentions sorting direction but does not address edge cases (invalid semver, empty list) or whether the operation is in-place. The behavior is mostly implicit.
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?
Two concise sentences with no extraneous text. Each sentence provides essential information: what the tool does and when to use it.
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 simple sorting tool, the description covers purpose and usage context. However, it does not describe the return value (the sorted list) or error handling, which are important for the agent to use it correctly.
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%. The description only implicitly references the 'reverse' parameter via 'ascending or descending,' and does not explain the 'versions' array format or valid semver strings. Minimal value added beyond the schema structure.
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 clearly states 'Sort a list of semver versions ascending or descending,' specifying the verb (sort), resource (list of semver versions), and direction options. It distinguishes from sibling tools like semver_compare by providing an example usage scenario.
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?
The description explicitly provides a usage scenario: 'When: Sort semver lists before picking latest/oldest.' This guides the agent on when to use this tool, though it does not explicitly mention alternatives for comparisons.
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.