Skip to main content
Glama

cell_tool_json_format

Read-only

Pretty-print, minify, validate, sort keys, query with a JSON pointer, or turn JSON into YAML or...

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>",
      "action": "Pretty",
      "indent": 1
    },
    "name": "cell_tool_json_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
actionYes
indentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "action": "Pretty",
      +    "indent": 1,
      +    "input": "<input>"
      +  }
      +]
  2. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that the tool performs several distinct transformations rather than a single one, which is useful context, but it does not say anything about how validation failures are reported or why the operation is flagged as non-idempotent and open-world. This is some added value but not rich behavioral disclosure.

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

Conciseness2/5

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

The definition is only a single sentence, yet it ends mid-clause with an ellipsis ('or turn JSON into YAML or...'), so it is broken rather than concise. The list of operations was front-loaded well, but a truncated sentence degrades the agent's confidence that all modes are covered.

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?

For a tool with three required parameters, 0% schema description coverage, no output schema, and a polymorphic action argument, the description is too thin. It should state how indent is interpreted for each action and how the JSON-pointer mode expects its arguments. As written, an agent can guess the high-level capabilities but not reliably construct a valid call.

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 the description must carry parameter meaning and it largely does not. The action list maps loosely onto the action enum, but the description never explains that indent is a required integer even for actions that do not use it (Minify, Validate), nor how the {Pointer: ...} variant of action works, nor the format of input. The truncated ending also omits the ToToml action that the schema accepts.

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 concrete verbs and the resource: pretty-print, minify, validate, sort keys, JSON-pointer query, and conversion to YAML. An agent immediately knows this is a JSON transformation and validation tool, which clearly separates it from siblings such as cell_tool_regex or cell_tool_diff. The only defect is that the sentence trails off with 'or...', leaving the last mode (ToToml) unstated.

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 enumeration of modes implies when each capability applies, and that tells an agent this tool covers formatting and conversion tasks. However, there is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives or what to do if the input is invalid. Usage is implied only by the list of operations.

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