Skip to main content
Glama

Tidy Byte Tools API

Format or minify JSON

json_format
Read-onlyIdempotent

Pretty-print or shrink valid 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_format"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's only added context is the "valid JSON" precondition. Critically, it never explains how the agent selects pretty-print versus shrink, nor what happens on invalid input, which is essential for this tool.

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 six-word sentence with the operation front-loaded and no filler. It is efficiently structured, though its brevity reflects under-specification more than disciplined economy.

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

Completeness2/5

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

With no output schema, an undocumented free-form body, and two distinct behaviors (format and minify), the description should say what the response contains and how modes are requested. It leaves both unaddressed, so an agent cannot reliably construct the call from the definition alone.

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?

The schema declares zero named parameters and is a free-form body with additionalProperties=true, so the agent must infer from the description which fields to send. The description hints at a mode choice (pretty-print vs shrink) but never names a field or value for it, leaving the invocation mechanics ambiguous in both schema and description.

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?

"Pretty-print or shrink valid JSON" gives a concrete pair of operations on a named resource, and the word "valid" implicitly separates it from json_repair. It is clear on its own, but it does not name or contrast with any sibling (json_shaper, json_repair) 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: the tool name plus "valid JSON" suggests it is for well-formed documents, hinting that broken input belongs elsewhere. There is no explicit when-to-use/when-not-to-use statement and no routing to alternatives such as json_repair or json_shaper.

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