Skip to main content
Glama

compare_cross_dataset

Find correlations and divergences between two datasets. Provides summary, correlation coefficient, and insights for cross-domain analysis like population vs air quality.

Instructions

Extract insights by comparing two related datasets.

Finds correlations, divergences, and rank disagreements. Ideal for: 'population vs air quality' analyses.

Returns: {summary_a, summary_b, correlation, insights}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_aYesFirst dataset
data_bYesSecond dataset
label_aNoLabel for first datasetDataset A
label_bNoLabel for second datasetDataset B
value_column_aYesNumeric column in first dataset
value_column_bYesNumeric column in second dataset
entity_column_aNoEntity column in first dataset
entity_column_bNoEntity column in second dataset

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the return structure (summary_a, summary_b, correlation, insights) but does not mention behavioral traits like side effects, permissions, or limitations.

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 very concise with two sentences and a return line, no wasted words, well-structured and front-loaded.

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?

Given the output schema exists and the tool has 8 parameters (4 required), the description covers purpose, use case, and return format. It could be improved by mentioning prerequisites like dataset alignment, but is largely complete.

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 description coverage is 100%, so baseline is 3. The description adds minimal parameter information beyond the schema, only stating the tool compares two datasets without elaborating on parameters.

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 clearly states the tool extracts insights by comparing two related datasets, and mentions correlations, divergences, and rank disagreements. However, it does not explicitly distinguish from the sibling tool 'compare_datasets', which may have a similar purpose.

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?

Provides a usage example ('population vs air quality') indicating ideal use cases, but lacks explicit guidance on when not to use or alternatives.

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/acailic/serbian-data-mcp'

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