Skip to main content
Glama

AutoTasker Hub — China Social Data API

json_format

Validate and pretty-print JSON with configurable indentation. $0.01 USDC.

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": {
      "text": "<text>"
    },
    "name": "json_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
indentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the cost ($0.01 USDC), but for a validation tool it never says how invalid JSON is reported (error vs. result flag) or what the output looks like, which is the critical behavioral detail.

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 short sentences with the core operation front-loaded and the pricing detail trailing. Nothing is wasted and it reads in a single glance.

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?

Deliberately minimal for a two-parameter utility. It is adequate. The main missing piece is failure mode on invalid JSON, which matters for a tool whose primary job is validation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all parameter meaning must come from the description. It only alludes to indentation being configurable and says nothing about the required 'text' input, the 0-8 range, or the default of 2, leaving the schema to speak for itself.

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 names specific verbs (validate, pretty-print) and the resource (JSON), so an agent immediately knows the operation. It does not differentiate against adjacent siblings such as base64_encode or other formatting tools, but the purpose itself is unambiguous.

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 strongly implied by the tool name and description – you use it on a JSON string you want checked or formatted. There is no explicit when-to-use guidance, no mention of what happens with non-JSON input versus valid JSON, and no named alternatives.

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.