MCP tool
join_path
Plan a join between tablesRead-only
How to join 2–5 tables, from the ontology: how their entities relate (same entity, lookup, common entity, roll-up), which columns align and how (same code system, two levels of one classification, a correspondence transform such as 7- vs 6-digit municipality codes, or a crosswalk table), period alignment, breakdowns to aggregate first, sentinel codes, unverified links and match rates, and a SQL skeleton. Tables on one SQL source join in one query; otherwise run each side at its source (or fetch it) and join in your own environment; the plan says how.
Parameters
tablesstring[]required- 2–5 table ids or SQL names, in the order you want them joined.
Input schema (JSON)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"tables": {
"description": "2–5 table ids or SQL names, in the order you want them joined.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tables"
],
"type": "object"
}