Skip to main content
Glama

CSV ↔ JSON Converter

dev_csv_convert

Convert CSV to JSON (array of objects keyed by the header row) and JSON arrays back to CSV. Handles quoted fields with embedded delimiters, escaped quotes and multi-line values per RFC 4180 conventions. Use this when an agent needs to cSV to array-of-objects and back, with quote handling. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesCSV or JSON content
delimiterYesDelimiter
directionYesDirection

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does fairly well: it specifies the return shape (array of objects keyed by header row), documents RFC 4180 edge case handling (quoted fields, embedded delimiters, escaped quotes, multi-line values), and discloses the x402 pricing/payment rail. It does not cover error behavior, size limits, or header-row requirements when converting back.

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

Conciseness3/5

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

The first sentence is well front-loaded and dense, but the third sentence largely repeats it, and there is a typo ('cSV'). Pricing info is useful but tacked on at the end; the definition could be tighter.

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 and no annotations, the description correctly compensates by describing the return structure for the CSV→JSON direction and the RFC 4180 quoting guarantees. Minor gaps remain around the JSON→CSV output shape and delimiter semantics, but an agent has enough 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%, so the schema already documents data, delimiter, and direction (with an enum). The description adds no delimiter semantics (e.g., default or accepted values) beyond what the schema provides, so the 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 (Convert) and both resources (CSV and JSON), including the exact output shape ('array of objects keyed by the header row'). This clearly distinguishes it from siblings like dev_json_formatter or dev_yaml_convert, which handle different formats.

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?

The sentence 'Use this when an agent needs a cSV to array-of-objects and back, with quote handling' restates the capability rather than giving real selection guidance. No alternatives are named and no when-not conditions are given, though the format makes the context fairly obvious.

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