Skip to main content
Glama

FMF Tools Dev Utils

data_json_to_csv

JSON -> CSV ($0.001 per call, paid via MPP on Tempo). Convert an array of objects (nested objects flattened to dot.keys) or arrays to CSV/TSV with proper quoting, column order you choose, up to 2 MB. HTTP POST https://mpp-utils.fmf-x402.workers.dev/data/json-to-csv. 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": {
      "data": "<data>"
    },
    "name": "data_json_to_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
columnsNo
delimiterNo, (default) or \t

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/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 so: it discloses per-call cost ($0.001), the payment mechanism (MPP/Tempo, Payment Authorization header, or mppx over HTTP), the 2 MB size limit, nested-object flattening to dot.keys, proper quoting, and the concrete endpoint. It even warns that the MCP wrapper does not settle payment itself — a crucial behavioral caveat an agent could not infer.

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 text is dense but every sentence adds operational value — cost, conversion rules, limits, endpoint, and payment caveat. Leading with pricing before the purpose is slightly suboptimal front-loading, but no sentence is wasted.

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 paid conversion utility with no output schema, the description covers inputs, transformation semantics, size limits, endpoint, and payment flow. Only error behavior and output framing (e.g., whether the CSV is returned as a string) are left implicit.

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 coverage is only 33%, so the description must compensate, and it largely does: it explains that 'data' accepts an array of objects (with nested keys flattened) or arrays, that 'columns' controls column order, and that output can be CSV/TSV. The 'delimiter' parameter remains only covered by its own schema text, leaving a small gap.

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?

The description names a specific verb and resource: 'JSON -> CSV' and 'Convert an array of objects ... to CSV/TSV'. The direction is unambiguous and mirrors the sibling data_csv_to_json, so an agent can route between them 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?

It gives clear context for when the tool applies: input is an array of objects or arrays, output is CSV or TSV, and size is bounded at 2 MB. It does not explicitly exclude or name alternatives, but the reverse sibling is self-evidently distinct given the stated direction.

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