Dataparity
v0.3.0Cross-database data diff and reconciliation for AI agents, with a portable row hash
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dataparity_list_sources
List the configured data sources that can be diffed. Returns each source name, engine type and label.
dataparity_list_tables
List table names in a configured source. Use this to find candidate tables, then call dataparity_describe_table when you need column names, types, or nullability before choosing diff keys.
| Parameter | Type | Description |
|---|---|---|
source * | string | The configured source name. |
schema | string | Optional schema to restrict the listing to. |
dataparity_describe_table
Return detailed metadata for one table, including each column name, type, and nullability. Use this after dataparity_list_tables to choose key and comparison columns.
| Parameter | Type | Description |
|---|---|---|
source * | string | The configured source name. |
table * | string | The table name, optionally schema-qualified. |
dataparity_diff_tables
Compare two tables and report what changed. Works across different databases: both sides compute the same canonical row hash, so only hashes are compared, never raw data. Returns added, removed and modified rows, schema differences, a risk verdict, and the segments of data where the changes concentrate.
| Parameter | Type | Description |
|---|---|---|
key_columns * | array | Columns used to match rows across the two sides. |
left * | string | The left source name. |
left_table * | string | The table on the left. |
right * | string | The right source name. |
right_table * | string | The table on the right. |
columns | array | Columns to compare. Defaults to every column the two tables share. |
format | string | Output format. Defaults to json. |
max_attributions | number | Maximum number of attribution segments to return. Defaults to 5. |
max_changes | number | Maximum number of row changes to return. Defaults to 100. |
sample | boolean | Compare only a sample of rows. The result is marked as sampled. |
where | string | A WHERE expression applied to both sides. |
dataparity_list_diff_runs
List recent saved diff runs, newest first. Successful dataparity_diff_tables calls are saved locally; use dataparity_get_diff_run to retrieve a full report.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of runs to return (1-100, default 20). |
dataparity_get_diff_run
Retrieve a previously saved full diff report by the run id returned from dataparity_diff_tables or dataparity_list_diff_runs.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Saved diff run id. |
dataparity_delete_diff_run
Permanently delete a saved diff report from local history by run id.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Saved diff run id. |
dataparity_create_baseline
Capture a named baseline for a configured table. The local store keeps schema and bucket-level canonical hashes, not table row values. A later dataparity_compare_baseline checks for data or schema drift.
| Parameter | Type | Description |
|---|---|---|
key_columns * | array | Columns that identify rows and determine fingerprint buckets. |
name * | string | Unique name for this baseline. |
source * | string | Configured source name. |
table * | string | Table name, optionally schema-qualified. |
dataparity_list_baselines
List saved table baselines, optionally filtered by configured source.
| Parameter | Type | Description |
|---|---|---|
source | string | Optional configured source name. |
dataparity_compare_baseline
Compare a configured table with a saved baseline for the same source and table. Returns schema differences and changed hash buckets; use dataparity_diff_tables for row-level details against a live table.
| Parameter | Type | Description |
|---|---|---|
name * | string | Saved baseline name. |
source * | string | Configured source name. |
table * | string | Table name, optionally schema-qualified. |
dataparity_delete_baseline
Permanently delete a saved table baseline by name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Saved baseline name. |