Skip to main content
Glama

x402-quick-sort

Quick Sort: Sorts an array of numeric values ascending with a quicksort partition scan 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses ascending output and the algorithm, but says nothing about input format (comma-separated vs JSON), error handling on non-numeric input, stability, or return shape for a tool whose only parameter is an untyped string.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is efficiently front-loaded, but the trailing '🆓 5 free trial calls per signed wallet' adds marketing noise that consumes space without helping invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool this could be adequate, but with no annotations, no output schema, and an ambiguous string parameter, the description omits the one thing an agent most needs: the accepted format of 'values'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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 string with no description. The phrase 'array of numeric values' hints at content but not the required serialization (delimited string? JSON literal?), leaving the agent guessing how to format the input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (sorts) and resource (array of numeric values) plus direction (ascending), and names the algorithm. However, with siblings like x402-bubble-sort, x402-merge-sort, x402-heap-sort, and x402-sort-numbers, it offers no differentiation for when this algorithm is preferable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use quicksort versus the many other sort siblings, no prerequisites, and no exclusions. The 'free trial calls' note is billing marketing, not usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources