Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

json_diff

Compare two JSON documents and return deterministic JSON Pointer paths that were added, removed, or changed.

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": {
      "before": "<before>",
      "after": "<after>"
    },
    "name": "json_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYes
beforeYes
maxChangesNo
operationIdNo
workspaceTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/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 does disclose the output shape (deterministic JSON Pointer paths categorized as added/removed/changed), which is valuable, but says nothing about required auth (workspaceToken), idempotency (operationId), behavior of maxChanges truncation, or whether inputs must be JSON strings.

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?

One well-formed sentence with the output contract front-loaded and no filler. Brevity is appropriate, though at the cost of the parameter and behavioral detail a 5-parameter tool needs.

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 5 parameters, no annotations, and no output schema, the description covers only purpose and return format. Missing are parameter meanings, auth requirements, truncation behavior, and input format constraints, leaving an agent unable to call it reliably beyond the two required fields.

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

Parameters1/5

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

Schema description coverage is 0% across 5 parameters. The description only maps the two required inputs (before/after) implicitly; maxChanges, operationId, and workspaceToken are completely undocumented in both schema and description, including the truncation semantics of maxChanges.

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?

States a specific verb (compare) and resource (two JSON documents) and adds what it returns: JSON Pointer paths for added, removed, or changed entries. That distinguishes it from siblings like json_format or json_schema_validate, though it never names an alternative such as contract_compare.

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 by the purpose phrase – an agent can infer 'use this to diff two JSON documents', but there is no explicit when-to-use, when-not-to-use, or guidance against the similar contract_compare sibling. No prerequisites or exclusions are stated.

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