Skip to main content
Glama

Tidy Byte Tools API

Shape text into JSON

json_shaper
Read-onlyIdempotent

Turn key-value lines, CSV, or a Markdown table into clean JSON.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "json_shaper"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe key-value lines, CSV, or Markdown table to turn into JSON.
formatNoInput format: "auto" (the default, which guesses), "kv", "csv", or "markdown".

Output Schema

NameRequiredDescriptionDefault
okYes
toolYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "Input format: \"auto\" (the default, which guesses), \"kv\", \"csv\", or \"markdown\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / text / description
      Added value: +"The key-value lines, CSV, or Markdown table to turn into JSON."
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds almost nothing beyond that: it does not mention how malformed or ragged input is handled, how 'auto' detection fails, or how keys are normalized into 'clean' JSON.

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?

A single front-loaded sentence with no filler; the verb and the accepted formats come first. It is arguably too terse for a tool whose format auto-detection is the main source of ambiguity, keeping it just short of a 5.

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?

An output schema exists, so return values need no explanation, and with only two well-documented parameters the definition is largely adequate. However, the 'auto' guessing behavior and edge cases like nested or duplicate keys are left unspecified, which matters for a parsing 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% and both parameters are fully documented in the schema, including the 'auto'/'kv'/'csv'/'markdown' values, so the baseline is 3. The description merely restates the accepted input types and adds no syntax, defaulting, or precedence detail beyond the schema.

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?

The description gives a concrete verb ('turn ... into clean JSON') and enumerates the accepted resources: key-value lines, CSV, and Markdown tables. This clearly separates it from JSON-to-JSON tools like json_format or json_repair, which take JSON as input, 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to choose this tool over json_format, json_repair, or yaml_json, nor any note about exclusions or preconditions. Usage is only inferable from the input-format list, which is weaker than stated when-to-use criteria.

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.