Skip to main content
Glama

AI SENSE Free Public Tools

Format or validate JSON

json_check

Format or validate JSON text. format pretty-prints it (mode pretty, indent 2 or 4) or compacts it (mode compact); validate reports whether it parses and where it breaks. The result is stored for 24 hours and the answer has its storage_id and storage_url. No API key, no account and no sign up.

Input Schema

NameRequiredDescriptionDefault
dataYesThe JSON text.
modeNoformat only.
indentNoformat only.
operationYesformat pretty-prints or compacts the JSON in data; validate reports whether it parses and where it breaks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / operation / description
      Added value: +"format pretty-prints or compacts the JSON in data; validate reports whether it parses and where it breaks."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false but say nothing about why; the description fills that gap by disclosing that output is persisted for 24 hours and returned with storage_id and storage_url, explaining the non-read-only classification. It also removes friction by stating no API key or account is required. It could still say whether the stored artifact is retrievable/deletable or whether repeated calls create new artifacts.

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?

Three short sentences, front-loaded with the core purpose and then the return/storage behavior, with no wasted clauses. The closing 'No API key, no account and no sign up' is slightly promotional and partially redundant with the same point made once already, but it is brief.

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

Completeness4/5

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

There is no output schema, so the description carries the return-value burden and does so by naming storage_id, storage_url, and the validate case ('reports whether it parses and where it breaks'). Combined with 100% schema coverage, an agent has enough to invoke it correctly; only the exact shape of validate's error location remains unspecified.

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% and three parameters are enums, so the schema already documents data, mode, indent, and operation thoroughly. The description restates the mode and indent semantics (pretty with indent 2 or 4, compact) almost verbatim from the schema, adding no format or size guidance beyond it. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Opens with a specific verb pair and resource ('Format or validate JSON text') and immediately splits the two operations into distinct behaviors. It does not, however, distinguish itself from nearby siblings such as json_csv_convert or validate_value, so an agent must infer the boundary from the name alone.

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?

The description makes the internal format-vs-validate choice clear (pretty/compact vs parse-checking), which implies when each operation applies. It gives no explicit guidance on when to pick this tool over json_csv_convert or validate_value, and no exclusions or preconditions.

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.