Skip to main content
Glama
agenson-tools

Structured Data Validator & Transformer MCP Server

merge_datasets

Merge multiple JSON datasets, deduplicate records using a key field, and resolve conflicts with configurable strategies. Combines data from diverse sources into a unified set.

Instructions

Merge multiple JSON datasets with deduplication and conflict resolution. Handles overlapping data intelligently, perfect for agents combining data from multiple sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetsYesArray of datasets (each dataset is an array of objects)
merge_keyYesField name to use for identifying duplicate records (e.g., "id", "email")
conflict_resolutionNoHow to resolve conflicts when same record appears in multiple datasetslast_wins
Behavior2/5

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

No annotations provided, so description carries full burden. Describes deduplication and conflict resolution but lacks details on edge cases, performance, or return behavior.

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 sentences with no wasted words, perfectly sized for the information conveyed.

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

Completeness3/5

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

Given 3 parameters, no output schema, and no annotations, description covers core purpose but omits return format, behavior on missing keys, and specifics of conflict resolution modes.

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%, baseline 3. Description reiterates concepts in schema (e.g., 'deduplication' maps to merge_key, 'conflict resolution' to conflict_resolution) but adds no new detail beyond what schema provides.

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?

Clearly states verb 'merge', resource 'JSON datasets', and key capabilities 'deduplication and conflict resolution'. Distinguishes from siblings like validate_json_schema and transform_csv_to_json.

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?

Implied usage with 'perfect for agents combining data from multiple sources', but no explicit when-not-to-use or alternatives mentioned.

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/agenson-tools/structured-data-validator-mcp'

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