Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

json_to_csv

Convert a JSON array of flat objects into CSV with escaped cells and a stable union of columns. Example: {json: '[{"sku":"A1","quantity":7}]'}.

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": {
      "json": "<json>"
    },
    "name": "json_to_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON document encoded as text.
delimiterNoCharacter to place between CSV cells.
operationIdNoStable unique request identifier. Reuse it only for an exact retry.
workspaceTokenNoSecret API token for the workspace; keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / delimiter / description
      Added value: +"Character to place between CSV cells."
  2. Changed1 schema field changed
    • removedInput schema / properties / delimiter / description
      Removed value: -"Value for the delimiter parameter of the json_to_csv tool; follow its schema constraints."
  3. Changed4 schema fields changed
    • addedInput schema / properties / delimiter / description
      Added value: +"Value for the delimiter parameter of the json_to_csv tool; follow its schema constraints."
    • addedInput schema / properties / json / description
      Added value: +"JSON document encoded as text."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • addedInput schema / properties / workspaceToken / description
      Added value: +"Secret API token for the workspace; keep it private."
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description adds real behavioral detail beyond the annotations: cells are escaped and the column set is a stable union across records, which tells the agent how ragged input is handled. However, it says nothing about side effects, despite annotations declaring readOnlyHint=false and idempotentHint=false for what reads like a pure transform, and nothing about the secret workspaceToken requirement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the transformation and followed by a compact usage example. Nothing is redundant or padded.

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

Completeness3/5

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

The tool has four parameters and no output schema, so the description carries more burden; it does describe the output shape (escaped cells, union of columns) but never mentions the returned value's form, delimiter effect on output, or how the required secret token factors in. Reasonable but incomplete for a four-parameter 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 description coverage is 100%, so the schema already documents json, delimiter, operationId and workspaceToken; baseline is 3. The inline example clarifies that json must be a JSON-encoded string rather than an object, which is a small but genuine addition over the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and transformation (convert a JSON array of flat objects into CSV) plus a scoping constraint ('flat objects') that rules out nested input. It is distinguishable from json_format and json_diff by resource, though no sibling is named explicitly.

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 only implied through the inline example of a JSON payload; there is no explicit statement of when to pick this over json_format or data_normalize, nor any exclusion such as what happens with nested objects. Adequate for a simple converter but not guiding.

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