Skip to main content
Glama

FMF Tools Dev Utils

data_csv_to_json

CSV -> JSON ($0.001 per call, paid via MPP on Tempo). Parse CSV/TSV (auto delimiter, quoted fields, header row) up to 2 MB into an array of objects (or arrays), with dynamic typing of numbers/booleans and per-row error reports. HTTP POST https://mpp-utils.fmf-x402.workers.dev/data/csv-to-json. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": "data_csv_to_json"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYes
typedNodefault true
headerNodefault true
delimiterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does most of it: it discloses pricing, the payment/auth mechanism, the underlying HTTP POST endpoint, a hard 2 MB input ceiling, per-row error reports, and dynamic typing behavior. It does not say what happens on oversized input, nor whether uploaded CSV content is retained by the remote worker, which are the remaining unknowns for a hosted parser.

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-loads the transformation and the cost, then moves to I/O shape and payment mechanics, so scanning order matches the caller's decision order. Slightly dense: the MPP/Tempo payment point is stated twice (price line and closing sentence), which is minor repetition rather than bloat.

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?

For a 4-parameter, one-required tool with no output schema, the description covers return shape ('array of objects (or arrays)'), error reporting, and the payment prerequisite. The gaps are edge-case behavior at the 2 MB boundary and the exact semantics of the optional delimiter/header/typed flags beyond their defaults.

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 only 50%, with 'csv' and 'delimiter' undocumented in the schema. The description partially compensates by clarifying that delimiter detection is automatic, that a header row is expected, and that typing of numbers/booleans is dynamic, but it never explains what passing an explicit 'delimiter' changes or what form the 'csv' payload must take.

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 concrete verb and resource ('Parse CSV/TSV ... into an array of objects (or arrays)') and enumerates the supported mechanics (auto delimiter, quoted fields, header row, dynamic typing). The inverse sibling data_json_to_csv is clearly the opposite direction, so an agent can separate the two without opening either schema.

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

Usage Guidelines4/5

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

Gives explicit invocation guidance: it is a paid call ($0.001 via MPP on Tempo), the MCP wrapper does not settle payment itself, and the caller must supply an MPP Payment Authorization header or use mppx against the HTTP route. It stops short of naming when to prefer the sibling json_to_csv or other alternatives, so context is clear but alternatives are absent.

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