Skip to main content
Glama

x402-heap-sort

Heap Sort: Heap 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

D1.5/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 behavioral burden, and it discloses nothing. It does not state the sort order (ascending/descending), the expected input encoding (delimited string vs. array), whether the result is returned or the input mutated, or any error behavior.

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 a useful sense: it is an empty repetition of the name with no front-loaded information. It is under-specification rather than efficient summarization.

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

Completeness1/5

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

For a tool requiring an input payload whose format is undefined, with no annotations and no output schema, the description omits everything an agent would need to invoke it correctly.

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?

There is one parameter whose schema description is the vacuous phrase "Values to process," which conveys no format, delimiter, or typing information. Although nominal schema description coverage is 100%, that coverage is content-free, and the tool description does not compensate — a caller still cannot tell how to encode the input.

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 "Heap Sort: Heap Sort" is a tautology that restates the tool name twice without stating any verb, resource, or outcome. While the name itself implies the algorithmic operation, the description adds zero differentiating information against siblings such as x402-merge-sort, x402-quick-sort, or x402-bubble-sort.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no exclusions, and no mention of alternative sorting tools. With at least six sibling sort implementations plus generic sort utilities available, the agent is given nothing to choose between them.

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