Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-is-sorted

Is Sorted: Checks whether values (array or comma list) is non-decreasing; empty input counts as sorted 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "values": "<values>"
    },
    "name": "x402-is-sorted"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose genuinely useful behavior: acceptance of an array or comma-separated list and the empty-input edge case, which an agent could not derive from the schema. It says nothing about return shape (presumably a boolean, but no output schema exists to confirm), error behavior on malformed input, or the free-trial/quota mechanic beyond a promo line.

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

Conciseness4/5

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

Effectively one front-loaded sentence that puts the predicate and its edge case first, with zero redundant wording. The trailing trial-call promo with an emoji is minor clutter that doesn't affect call correctness.

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

Completeness3/5

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

The tool is simple and the description covers what the check means plus the empty-input case, which is the core requirement. With no annotations and no output schema, however, the description should state what is returned (a boolean? a structured result?) and how malformed input is handled; that gap leaves an agent guessing about the response.

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 coverage is 0% and the schema only types 'values' as a bare string, so the description must compensate. It partially does, noting that the input can be an array or a comma list, which is meaningful clarification. It leaves open the element type (numbers vs strings), whitespace handling around commas, and invalid-value behavior.

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?

The description states a specific predicate with its exact semantics: 'Checks whether values (array or comma list) is non-decreasing; empty input counts as sorted'. That is far more precise than the bare name, and it contrasts implicitly with the sibling x402-sorted-array (a sorter, not a predicate). It stops short of naming that sibling explicitly, so an agent must infer the distinction from the names alone.

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?

The description gives semantics but no usage guidance: nothing says when to reach for this versus x402-sorted-array or the many other x402-is-* predicates, and there are no prerequisites or exclusions. For a simple predicate the implied usage is nearly self-evident, but nothing in the text actively guides selection.

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