Skip to main content
Glama

x402 Toolbox

CSV / TSV to JSON (RFC 4180 quoting, delimiter auto-detect, type inference)

csv_to_json
Read-onlyIdempotent

CSV / TSV to JSON (RFC 4180 quoting, delimiter auto-detect, type inference). Parses CSV with quoted fields, embedded newlines and doubled quotes; auto-detects comma, semicolon, tab or pipe. Returns an array of objects (using the header row) or of arrays, optionally inferring numbers, booleans and nulls. Up to 50,000 rows. Price: $0.003 USDC per call via x402 (eip155:8453).

Input Schema

NameRequiredDescriptionDefault
csvYes
headerNo
delimiterNoauto
inferTypesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), and the description adds important context beyond that: quoting rules, delimiter auto-detection, return shapes, type inference, a 50,000-row limit, and the x402 payment requirement. This is a strong disclosure of behavior an agent would not get from annotations alone.

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 description is front-loaded and appropriately sized, moving quickly from the core operation to quoting, delimiters, return shape, limits, and pricing. The opening phrase repeats the title, which is minor redundancy, but the remaining sentences earn their place.

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 correctly explains the return shape as an array of objects or arrays. It also covers parsing behavior, row limits, and payment requirements. It is complete enough for correct invocation, though it could say more about the header and inferTypes parameters explicitly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 carry parameter meaning. It explains delimiter auto-detection, type inference, and header-row behavior, which maps well onto the delimiter, inferTypes, and header parameters. The csv parameter is obvious from context, though the exact meaning of header=false is only implied rather than stated.

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 clearly states a specific conversion operation with the resource (CSV/TSV to JSON) and details its parsing behavior. It does not explicitly differentiate itself from the inverse sibling json_to_csv, so it falls short of the full sibling-routing clarity required for 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 Guidelines3/5

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

Usage is implied by the feature description and row limit, but there is no explicit guidance on when to use this tool instead of json_to_csv or other JSON utilities. The agent must infer the appropriate use case from the tool name and behavior.

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.