rehearse_table_join
Validates a read-only all-match join between two Excel tables before combining data, checking key matches and flagging duplicate or lost measure amounts without creating joined rows.
Instructions
Read-only all-match join preflight; never choose keys or allocate amounts.
Sources are {table_name, optional sheet_name}. Exact typed scalar keys; blank
keys never match, no trimming/coercion/case folding. One numeric measure_field
on the LEFT is checked for duplication/loss separately, even if net delta is
zero. Null measures count as zero and are reported. Tables exclude native
totals; hidden/filtered rows remain included. 50000 cells/64 columns per table.
Not cross_workbook_lookup's first-match behavior or proof of business grain.
No joined rows are materialized. Reuse both supplied paths unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"left_filepath": "<left_filepath>",
"right_filepath": "<right_filepath>",
"left_source": "<left_source>",
"right_source": "<right_source>",
"left_key": "<left_key>",
"right_key": "<right_key>",
"measure_field": "<measure_field>"
},
"name": "rehearse_table_join"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left_key | Yes | ||
| join_type | No | left | |
| right_key | Yes | ||
| left_source | Yes | ||
| right_source | Yes | ||
| sample_limit | No | ||
| left_filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| measure_field | Yes | ||
| right_filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. |