Skip to main content
Glama

convert_data

Data Converter — Convert a data file between formats (JSON, NDJSON/JSONL, CSV, TSV, XML, YAML, TOML, INI). Upload the data file and pick a target format; the result comes back as a downloadable file (so it chains in workflows). Inline text is also accepted via a JSON-body 'input' string instead of a file. [category: convert]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesThe format you want back. It has to be different from what you put in.json
fileYesThe data file to convert (max 5MB).
fromNoSource format. Optional — inferred from the file extension when omitted. 'ndjson' (aka jsonl) is newline-delimited JSON; 'tsv' is tab-separated values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / from / x-ui
      Added value: +{
      +  "unset_label": "Read from file"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / to / default
      Added value: +"json"
    • changedInput schema / properties / to / description
      Previous value: -"Target format. Must differ from the source format."New value: +"The format you want back. It has to be different from what you put in."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations are essentially blank (false hints), so the description carries the burden. It discloses that the result is a downloadable file, that it chains in workflows, and that inline text is accepted via an 'input' string. Notably, this 'input' string is not present in the schema, which is confusing but still adds behavioral information rather than hiding it.

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?

Three sentences, front-loaded with the core purpose, followed by usage and an input alternative. There is little waste; the trailing '[category: convert]' is minor metadata that could be dropped, and 'Data Converter' repeats the tool name.

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 3-parameter, no-output-schema tool, the description covers the essential inputs, target selection, and the downloadable-result behavior. The main gap is the undocumented inline-text path: it is referenced but not reconciled with the required 'file' parameter, which could leave an agent unsure how to satisfy the schema.

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%, and the schema already explains 'to', 'from', and 'file' thoroughly, including format inference and alias definitions. The description adds no per-parameter semantics beyond the schema; in fact it introduces an undocumented 'input' parameter without detailing its structure.

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?

Description begins with a specific verb and resource: 'Convert a data file between formats' and enumerates the exact supported formats (JSON, NDJSON/JSONL, CSV, TSV, XML, YAML, TOML, INI). This clearly differentiates it from the many sibling convert_* tools, which target documents, archives, video, or other media.

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 clear operational context: upload a data file, pick a target format, and receive a downloadable result that chains in workflows. It also mentions the inline-text alternative. However, it does not explicitly exclude alternatives like convert_file or data_to_file or state when not to use this tool.

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