Skip to main content
Glama

ScorpTech x402 API

Format Convert

format_convert
Read-onlyIdempotent

Convert data between CSV, TSV, JSON, YAML and XML in one call (auto-detects the input format). CSV header handling and delimiter detection, type inference (numbers, booleans, null), nested objects flattened to dotted CSV columns, XML attributes as @keys and repeated elements as arrays, safe YAML subset (no anchors/tags), optional spreadsheet formula-injection guard. Body: {input, from, to, options}; 256 KB limit, clear errors with line numbers on malformed input. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/format-convert

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYescsv, tsv, json, yaml or xml
fromNoauto (default), csv, tsv, json, yaml, xml
inputYesThe document text (or, for JSON, the value itself)
optionsNoheader (default true), inferTypes (true), pretty (true), delimiter (, ; | \t), rootName (root), itemName (item), flatten (true), spreadsheetSafe (false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources