Skip to main content
Glama

util_csv

Read-only

CSV to JSON with column profile — Parse CSV, TSV, semicolon or pipe-delimited text into JSON rows. Detects the delimiter, handles quoted fields, de-duplicates header names, infers column types (integer, number, boolean, date, string) and returns per-column profiles: nulls, distinct values, min, max, sum and mean. Price: $0.002 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "util_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesCSV text, URL-encoded (up to 60,000 characters)
limitNorows to return, 1-500 (default 100)
headerNotrue (default) | false
delimiterNoauto (default) | comma | semicolon | tab | pipe

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, openWorld). The description adds real behavioral context beyond them: automatic delimiter detection, quoted-field handling, header de-duplication, type inference, and — most importantly — that each call is metered at $0.002 USDC via x402, which an agent must know before invoking. It does not say what happens on malformed input or how truncation is signaled, keeping it below a 5.

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?

Dense but front-loaded: the core action comes first, then the returned profile fields, then the pricing note. The single em-dash run-on sentence is slightly harder to scan than discrete sentences would be, but nothing is redundant.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing return values and does so (JSON rows plus per-column profiles), and it discloses cost, which is essential. Gaps remain around response envelope shape, error behavior on unparseable CSV, and how the row limit affects the profile computation.

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 100%, so text, limit, header and delimiter are already documented with defaults and ranges. The description mentions delimiter detection and type inference but adds no syntax or edge-case semantics (e.g., encoding expectations for URL-encoded text, behavior when header=false) beyond what the schema supplies. Baseline 3 applies.

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 ('Parse CSV, TSV, semicolon or pipe-delimited text into JSON rows') plus the distinctive add-on value (per-column profiles with nulls, distinct, min, max, sum, mean). No sibling in the util_* family performs CSV parsing, so the agent can distinguish this from util_convert/util_base64 on the strength of the description alone.

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?

Capabilities are enumerated, but there is no explicit when-to-use / when-not-to-use guidance and no named alternative (for example, routing non-CSV transform work to util_convert). Usage is implied by the input format rather than stated.

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