Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

CSV/TSV to JSON with delimiter, header and type detection ($0.0021/call)

csv_parse
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Parses CSV or TSV text into JSON rows (objects or arrays). Detects the delimiter (comma, semicolon, tab, pipe), the header row and quoting (RFC 4180: quoted commas, doubled quotes, newlines in quotes), infers column types and flags formula-injection cells (= + - @). Input: csv (POST for long text), optional delimiter, header, output, types, quote, max_rows. Limits: 1,000,000 characters, 50,000 rows, 500 columns. Offline.

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": {
      "csv": "<csv>"
    },
    "name": "csv_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesCSV or TSV text, up to 1,000,000 characters (POST JSON {"csv": "..."} for long text)
quoteNoQuote character: double (default), single or nonedouble
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
typesNoInfer column types and convert numbers and booleans (default yes); no keeps every cell as textyes
headerNoIs the first row a header? auto (default, detected), yes or noauto
outputNoRows as objects keyed by column name (default) or as arraysobjects
max_rowsNoRows returned, 1-5000 (default 1000); column stats still cover every parsed row1000
delimiterNoField separator: auto (default, detected), comma, semicolon, tab or pipeauto

Output Schema

NameRequiredDescriptionDefault
rowsNo
toolNo
cacheNo
_trialNoPresent when the call was a free trial call.
headerNo
outputNo
columnsNo
providerNo
warningsNo
delimiterNo
price_usdNo
row_countNo
truncatedNo
column_countNo
formula_cellsNo
rows_returnedNo
delimiter_detectedNo
header_detected_byNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "columns",
      +        "rows",
      +        "row_count"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "column_count": {
      +      "type": "integer"
      +    },
      +    "columns": {
      +      "items": {
      +        "properties": {
      +          "empty_count": {
      +            "type": "integer"
      +          },
      +          "index": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "string",
      +              "integer",
      +              "number",
      +              "boolean",
      +              "date",
      +              "datetime",
      +              "empty"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "delimiter": {
      +      "enum": [
      +        "comma",
      +        "semicolon",
      +        "tab",
      +        "pipe"
      +      ],
      +      "type": "string"
      +    },
      +    "delimiter_detected": {
      +      "type": "boolean"
      +    },
      +    "formula_cells": {
      +      "type": "object"
      +    },
      +    "header": {
      +      "type": "boolean"
      +    },
      +    "header_detected_by": {
      +      "type": "string"
      +    },
      +    "output": {
      +      "enum": [
      +        "objects",
      +        "arrays"
      +      ],
      +      "type": "string"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "row_count": {
      +      "type": "integer"
      +    },
      +    "rows": {
      +      "type": "array"
      +    },
      +    "rows_returned": {
      +      "type": "integer"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world, non-destructive), and the description adds substantial context on top: offline execution, hard limits of 1,000,000 characters / 50,000 rows / 500 columns, pricing model ($0.0021 per call, x402 USDC on Base, 3 trial calls per IP per UTC day), plus concrete detection behavior (RFC 4180 quoting, header detection, type inference, formula-injection flagging). That is exactly the kind of behavioral detail annotations cannot express.

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?

The body is a single dense paragraph with no filler, and the capability statement plus limits are easy to scan. The pricing sentence is front-loaded ahead of the purpose statement, which is slightly awkward for an agent skimming for what the tool does, but nothing is genuinely wasted.

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

Completeness5/5

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

An output schema exists, so return values needn't be explained, and the description still covers cost, trial path, input format, encoding edge cases, size limits, and offline status. For a stateless parsing utility this supplies everything needed to call it correctly.

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 100% and five parameters are enums, so the schema already carries the semantics. The description only re-lists the parameter names and repeats the max_rows nuance about column stats covering every parsed row, which the schema states too, so it adds little meaning beyond the schema.

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: parses CSV or TSV text into JSON rows, and specifies the output shape (objects or arrays). The CSV/TSV framing plus the named detection features cleanly separate it from the json_* and feed_parse siblings without ambiguity.

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 rather than stated: it tells the agent the input is CSV/TSV text and that long text should be POSTed, and it routes cost-sensitive callers to try_free for the free trial. It never says when to prefer this over alternatives such as feed_parse or json_repair, nor any when-not conditions.

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