Skip to main content
Glama

x402-sort-lines

Sort Lines: Sort lines of text (alpha, numeric, reverse). 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
orderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / order / description
      Removed value: -"Order to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It discloses the free-trial/payment context and the available sort modes, but it does not state the return format, whether sorting is stable, or how defaults are handled.

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

Conciseness5/5

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

The description is short and front-loaded: it leads with the tool name and core operation, then lists modes, then the trial note. There is no redundant wording or buried information.

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?

For a simple two-parameter text transformation, the description covers the main purpose and sort modes. However, with no annotations, no output schema, and no schema descriptions, it leaves several invocation details implicit, including parameter requiredness and default behavior.

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 0%, so the description must compensate for both parameters. It adds useful meaning for 'order' by listing alpha, numeric, and reverse, and implies that 'text' contains lines, but it does not clarify requiredness, defaults, or edge-case 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 verb and resource: 'Sort Lines' and 'Sort lines of text.' It also names the available modes (alpha, numeric, reverse), making the operation clear, though it does not explicitly distinguish itself from nearby siblings such as x402-sort-strings or x402-sort-numbers.

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 no when-to-use guidance, no exclusions, and no comparison to alternative sorting tools. An agent can infer that it should use this for sorting lines, but the routing decision is left implicit.

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