Skip to main content
Glama

x402-bubble-sort

Bubble Sort: Bubble Sort

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2/5.0
Behavior1/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, and it discloses nothing: not the expected input encoding, not whether the sort is ascending or numeric vs lexicographic, not the return shape. 'Bubble Sort: Bubble Sort' communicates zero behavioral traits.

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

Conciseness2/5

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

The text is short but not concise in the useful sense: it is under-specified rather than efficient, and the second half merely repeats the first. Nothing is front-loaded because there is nothing substantive to front-load.

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 sorting utility with no annotations and no output schema, the agent still needs to know input delimiter/format and output format, and the description supplies neither. It is incomplete for even this simple tool.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with a single 'values' parameter documented as 'Values to process'. Per the baseline rule for high coverage, the schema already carries parameter documentation and the description adds nothing beyond it, so a 3 is appropriate.

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

Purpose2/5

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

The description is 'Bubble Sort: Bubble Sort', which restates the tool name twice without adding a verb, resource, or scope. An agent can infer this sorts a list, but only from the name itself, not from any descriptive content.

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?

No guidance on when to use this tool versus siblings such as x402-merge-sort, x402-quick-sort, x402-insertion-sort, x402-selection-sort, x402-heap-sort, or x402-sort-numbers. The agent is left to infer that this is one of many sorting variants.

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