Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

convert_data

Read-onlyIdempotent

Convert documents between JSON, YAML, CSV, TOML, and XML (XML input only) to transform structured data formats; returns converted text.

Instructions

utilpeek: Convert data between JSON, YAML, CSV, TOML and XML. To check JSON against a schema use validate_json. Returns converted text. XML is input only. YAML uses a restricted loader and refuses alias bombs. Parsed YAML key collisions return 422 not_representable. The loader can still collapse duplicate or equivalent keys. XML with DTDs or entities returns 422 xml_forbidden. CSV skips one leading BOM; values stay strings. Dates: ISO strings or native TOML dates. 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. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/convert-data-formats-api.html

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "convert_data"
  }
}

Input 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

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. First observedv0.3.4

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: discloses the sandboxed, network-free, resource-limited child process, the 422 error codes (not_representable, xml_forbidden), loader caveats around key collisions and alias bombs, CSV BOM handling, pricing, free-tier rate limit, and that input is never logged or stored. That is exactly the behavioral context an agent needs before sending a document.

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?

Purpose and the sibling routing come first, followed by constraints, then cost/latency/privacy. Dense but nearly every sentence carries operational value; the string of 422 codes is slightly list-like but each maps to a distinct failure mode.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is optional, and the description still notes the return is converted text. Combined with error codes, limits, and privacy guarantees, nothing material is missing for correctly invoking a 5-parameter conversion tool.

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 coverage is 100%, so the schema already documents to/from/input/indent/delimiter, and the description adds only marginal meaning: the XML-input-only restriction and CSV BOM/string-value behavior. It says nothing about indent or delimiter semantics, so baseline 3 applies.

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?

States a specific verb (convert) and resource (data between named formats), and explicitly names the sibling it is not: validate_json handles schema checking. An agent can tell it apart from the many other convert_* siblings by the format list and the data-vs-document framing.

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?

Explicitly routes JSON-schema checking to validate_json and states the directional constraint that XML is input only. It does not explicitly say when to prefer convert_bank_statement/convert_excel_to_json for file inputs, but the format-level guidance is clear enough to select the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools