Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-csv-sort

CSV Sort: Sort CSV rows by a named column (column= or col=): numeric columns compare numerically, others lexicographically; order=desc reverses it. RFC 4180 quoting is parsed on the way in and re-quoted on the way out, so the sorted CSV stays valid. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
colNo
csvYes
dataNo
textNo
orderNo
columnNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "col"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "column"
      +        ]
      +      }
      +    ]
      +  }
      +]
    • addedInput schema / required
      Added value: +[
      +  "csv"
      +]
  2. Changed6 schema fields changed
    • removedInput schema / properties / col / description
      Removed value: -"Col to process"
    • removedInput schema / properties / column / description
      Removed value: -"Column to process"
    • removedInput schema / properties / csv / description
      Removed value: -"Csv to process"
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / order / description
      Removed value: -"Order to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the entire behavioral burden. It does well on comparison semantics (numeric vs lexicographic), the order=desc reversal, RFC 4180 quoting round-trip, and the 5-free-call-per-wallet quota, but it omits the default sort direction, whether a header row is sorted along with the data, and sort stability — all of which materially change the output.

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?

Front-loaded with the operation and the parameter spellings, then behavior, then pricing. Three sentences, no fluff. The trial-call note is tangential to invocation but is legitimate cost/rate context, so it earns a spot rather than being penalized heavily.

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?

With no annotations, no output schema, and six undocumented parameters, the description should be doing more. It covers the core sorting contract adequately but leaves the aliasing of csv/data/text, the default order, and header-row treatment unresolved — gaps an agent would hit on the first call.

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 description coverage is 0% across six parameters, so the description must compensate and only partly does: it explains col/column aliasing and order=desc. The data and text parameters are never mentioned, and the accepted values for order (only 'desc' is documented, not 'asc' or the default) are left ambiguous.

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

Purpose5/5

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

States a specific verb and resource: sort CSV rows by a named column, with the accepted parameter spellings (column= or col=) named inline. This clearly separates it from siblings like x402-sort-lines (line-oriented) and x402-csv-filter (selection rather than ordering) without the agent needing to open the schema.

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

Usage Guidelines3/5

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

Usage is implied by the operation described (use it to order CSV rows), but there is no explicit when-to-use versus when-not guidance and no named alternative for tasks that are actually filtering (x402-csv-filter) or repairing (csv-repair). The agent must infer the boundary from the tool name and description alone.

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.