Skip to main content
Glama

file_convert

Read-onlyIdempotent

CSV in, JSON out — and back again — Convert between the shapes data actually arrives in: CSV or TSV to JSON, JSON to CSV or TSV, CSV to a Markdown table, Markdown to HTML. Proper RFC 4180 parsing — quoted fields, embedded commas and newlines, doubled quotes — so a spreadsheet exported by a human does not silently come apart. Numbers and booleans get real types (turn it off with typed=false). No model call and no upstream: local parsing only. Required inputs: text, from, to. Priced $0.005 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault
toYesTarget format
fromYesSource format
textYesContent to convert
typedNoType numbers/booleans (optional)

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations: RFC 4180 parsing guarantees, typed number/boolean coercion with a typed=false escape hatch, and full commercial terms ($0.005/call over x402 on Base, x-credit-token header, 1 free call/day, no API key). The 'no upstream, local parsing only' claim sits uneasily with openWorldHint=true, but the x402 payment path plausibly accounts for that hint, so it is not a direct contradiction.

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 conversion matrix before the guarantees and the payment terms, so the agent gets the point in the first clause. It runs long, however, with roughly a third of the text devoted to pricing/free-tier marketing that is only tangentially about invoking the tool.

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 an output schema present it correctly does not describe return values, and it covers formats, type handling, and cost/auth. It omits failure behavior — what happens on malformed CSV or oversized input — which matters for a parser advertised as strict.

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 100% so the baseline is 3, but the description adds real meaning: it names the required inputs (text, from, to), lists the concrete format vocabulary for from/to, and explains typed defaults to true and is disabled with typed=false — the schema only says 'Type numbers/booleans (optional)'.

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?

Names the verb (convert) and enumerates the exact resource pairs handled: CSV/TSV→JSON, JSON→CSV/TSV, CSV→Markdown, Markdown→HTML. An agent can distinguish this from unit_convert, fx_convert, url_to_json or bank_csv purely from the text.

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 format pairs and by 'No model call and no upstream: local parsing only', which tells the agent this is a deterministic local transform. But it never states when to prefer this over siblings like url_to_json or bank_csv, and gives no exclusions or prerequisites beyond payment.

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