Skip to main content
Glama

Tanod Util

utilpeek: convert data between JSON, YAML, CSV, TOML and XML

convert_data
Read-onlyIdempotent

utilpeek: Convert data between JSON, YAML, CSV, TOML and XML. Returns the document converted from json, yaml, csv, toml or xml to json, yaml, csv or toml. YAML uses libyaml's restricted loader (alias bombs refused); XML with DTDs or entities is a 422 xml_forbidden; lossy conversions are a 422 (not_tabular, not_representable, ...) rather than silently changed. Input: input, from, to, optional delimiter and indent. CSV values stay strings; dates become ISO strings (native dates in TOML). Parsed in an isolated, resource-limited child process without network; input over its limits is a 422 (not charged). Typically under 1 s, up to a few seconds for 1 MB. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Tanod does not log or store the submitted text; it is processed in memory for this answer. Docs: https://tanod.dev/learn/convert-data-formats-api.html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesOutput format: json, yaml, csv or toml.
fromYesInput format: json, yaml, csv, toml or xml.
inputYesThe document as a string (at most 1 MB UTF-8).
indentNoJSON output indentation (0 = compact, default 2).
delimiterNoCSV delimiter (input and output).,

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
outputNo
sourceNo
output_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "from": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "output": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "output_bytes": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "properties": {
      +        "library": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "to": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources