Skip to main content
Glama

jsonDiff

Compare JSON objects or strings to identify differences in nested structures and generate standardized difference reports for data analysis.

Instructions

执行json对比

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expectKeyYes
actualKeyYes
Behavior1/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. '执行json对比' only states the action without revealing any behavioral traits: it doesn't indicate whether this is a read-only operation, what format the comparison results take, whether it modifies data, what happens on errors, or any performance characteristics. The description fails to provide essential context about how the tool behaves.

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?

The description is extremely concise at just three characters in Chinese ('执行json对比'), which translates to 'performs JSON comparison.' While severely under-specified, it's not wordy or repetitive. Every character serves a purpose in stating the core function, making it maximally efficient in terms of word count.

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

Completeness1/5

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

Given a tool with 2 required parameters, 0% schema description coverage, no annotations, and no output schema, the description is completely inadequate. '执行json对比' doesn't explain what the tool returns, how parameters should be formatted, what the comparison logic entails, or any error conditions. For a comparison tool with undocumented inputs and outputs, this minimal description leaves critical gaps.

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?

The schema has 0% description coverage, meaning neither parameter has any documentation in the structured schema. The description '执行json对比' adds no information about what 'expectKey' and 'actualKey' parameters represent, their expected formats, or how they're used in the JSON comparison. With two required parameters completely undocumented, the description fails to compensate for the schema's deficiencies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '执行json对比' (performs JSON comparison) states a general action but lacks specificity about what resources or data are being compared. It doesn't explain what 'expectKey' and 'actualKey' represent in the comparison context. While it avoids being a tautology with the name 'jsonDiff', it remains vague about the exact nature of the comparison operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool, what scenarios it's designed for, or any prerequisites. There are no sibling tools mentioned, so differentiation isn't needed, but the complete absence of usage context makes it impossible for an agent to determine appropriate invocation conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YohanLiu/mcp-jsondiff'

If you have feedback or need assistance with the MCP directory API, please join our Discord server