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-sort-strings

Sort Strings: Sort values as strings in JavaScript's default lexicographic order and return the array. 🆓 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-sort-strings"
  }
}

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/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose that the tool returns the array and that ordering is lexicographic, and it adds genuine non-obvious context about a 5-call free trial per signed wallet (an auth/billing prerequisite). It omits what happens after the trial is exhausted, error behavior, or whether the sort is stable or case-sensitive.

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?

Two compact sentences with the core behavior front-loaded before the promotional line. The free-trial note earns its place as operational context, though the emoji adds noise.

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?

This is a simple one-parameter tool with no output schema, so modest coverage is defensible, and the return behavior is stated. However, the unresolved input format (string vs. array) is the one thing an agent most needs in order to call it correctly, keeping it at minimum-viable.

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 there is one required parameter, `values`, typed as a plain string — yet the description talks about sorting "values" and returning "the array," implying an array input. This mismatch is unresolved: the description never says whether input is comma-separated, JSON-encoded, or newline-delimited. That is a materially confusing gap for the single input the tool takes.

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 names a specific verb and resource ("Sort values as strings") and pins down the ordering semantics as "JavaScript's default lexicographic order," which implicitly separates it from x402-sort-numbers. It does not explicitly contrast itself with near neighbors like x402-sort-lines, so it stops short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named despite many sibling sort tools (bubble-sort, sort-lines, sort-numbers). The lexicographic framing hints at the appropriate case, but the agent must infer it.

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