Skip to main content
Glama

Data Converter API - CSV, Excel, JSON both ways

data_convert
Read-onlyIdempotent

Convert CSV (any delimiter/encoding), Excel (xlsx/xls) or JSON (nested objects flattened to dot columns) into JSON, CSV or Excel. to=json also returns the rows inline as data. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.003/call via x402 at https://radarbg.com/x402/data-convert.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "json",
      "fileName": "people.csv",
      "fileContent": "bmFtZSxjaXR5CkFubmEsQmVybGluCkl2YW4sVmFybmEK"
    },
    "name": "data_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNojson, csv or xlsxjson
filesNoOr several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)
fileNameNoFile name with extension, e.g. report.pdf
fileContentNoThe file as base64 (a data: URI is fine; 20 MB total decoded limit per call)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fileContent / description
      Previous value: -"The file as base64 (a data: URI is fine)"New value: +"The file as base64 (a data: URI is fine; 20 MB total decoded limit per call)"
    • changedInput schema / properties / files / description
      Previous value: -"Or several files: [{fileName, fileContent (base64)}]"New value: +"Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)"
    • addedInput schema / properties / files / maxItems
      Added value: +60
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description adds substantial behavior beyond the supplied annotations: processing happens server-side, files are deleted immediately after the call with nothing stored, the free tier is capped at 5 calls/day per IP, and paid access requires either an X-API-Key or x402 payment. It also discloses that to=json returns the rows inline as data, which is real output behavior not visible in any structured field. These are exactly the operational facts an agent needs before invoking.

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

Conciseness5/5

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

The capability statement comes first, followed by the output note, then privacy, then access/pricing — a sensible front-loaded order where each sentence carries distinct, actionable information. The URLs and prices are verbose but they encode the auth and billing mechanics an agent cannot get elsewhere. No filler or redundancy.

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?

Given four parameters, 100% schema coverage, and no output schema, the description covers what would otherwise be missing: return shape for to=json, data-retention guarantees, rate limits, and authentication paths. The remaining gap is the relationship between the `files` array and the single-file fields, plus the xls/enum discrepancy, which the description should have resolved 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 100%, so the baseline is 3, and the description genuinely adds conversion semantics on top: JSON nested objects are flattened to dot columns, and to=json returns rows inline. One weakness is a mismatch — the description advertises Excel 'xls' support while the `to` enum only permits json/csv/xlsx, which could lead an agent to submit an invalid target format. The `files` array is also only loosely reconciled with the single fileName/fileContent pair ('Or several files').

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 opening sentence names a specific verb (Convert) plus the exact source formats (CSV with any delimiter/encoding, Excel xlsx/xls, JSON with nested objects flattened to dot columns) and the target formats (JSON, CSV, Excel). That is far more specific than the name alone and implicitly positions it as the general-purpose converter among many one-directional siblings (csv_to_xml, pdf_to_csv, json_to_xml). It stops short of explicitly telling the agent it is the preferred choice over those narrower tools, so it sits at 4 rather than 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 supported format matrix: an agent can infer this is the tool for CSV/Excel/JSON round-trips. However, there is no explicit when-to-use/when-not statement and no named alternative, which matters here because the sibling list contains many overlapping format converters (csv_to_xml, xml_to_json, csv_splitter) that an agent must choose between. Access conditions (free tier, API key, x402) are stated clearly, which partially compensates.

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