Skip to main content
Glama
syedtaj7

Kitbag MCP

by syedtaj7

data_diff_arrays

Compare two JSON arrays of objects to detect added, deleted, modified, and unchanged entries. Optionally specify a key to match objects between arrays.

Instructions

Compare two JSON arrays of objects and return the differences (added, deleted, modified, unchanged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoOptional unique key to match objects between arrays (e.g. 'id' or 'email').
arrayAYesJSON string representing the baseline array.
arrayBYesJSON string representing the updated array to compare against A.
Behavior3/5

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

Description explains the output categories (added, deleted, modified, unchanged) but does not disclose behavior when 'key' is omitted, how objects are matched by default, or edge cases like empty arrays or duplicate keys. With no annotations, more detail would be beneficial.

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?

Single sentence with 15 words, highly efficient. No filler, every word contributes to understanding the tool's core functionality.

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?

For a tool with 3 parameters and no output schema, the description covers the main function and output categories. Missing details on default key matching and return format, but still provides a solid understanding of what the tool produces.

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 coverage is 100%, and the schema already describes each parameter adequately. The tool description does not add new semantic detail beyond the schema, so baseline score of 3 applies.

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

Purpose5/5

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

Description clearly states the tool compares two JSON arrays of objects and returns specific difference categories (added, deleted, modified, unchanged). This distinguishes it from sibling tools like developer_diff_json (which diffs arbitrary JSON) and developer_diff_files.

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

Usage Guidelines2/5

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

No guidance on when to use this tool over alternatives. Lacks information about prerequisites, limitations, or when not to use it (e.g., for non-array JSON structures).

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/syedtaj7/Kitbag-mcp'

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