You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp: split mz_mcp_data_products into lightweight discovery and detailed views (#35747)
Fixes:
https://linear.app/materializeinc/issue/DEX-18/mcp-benchmark-agents-endpoint-and-optimize-mz-mcp-data-products-view
Splitting the `mz_mcp_data_products` into two views to improve discovery
performance:
- `mz_mcp_data_products`: just a lightweight view returning just name,
cluster, and description (fewer joins, no JSON aggregation)
- `mz_mcp_data_product_details`: the full view with JSON Schema column
for agents that need column-level detail
The `get_data_products` tool now hits the lightweight view, while
`get_data_product_details` queries the full view. Local benchmarks at
1500 data products show ~25% improvement on the discovery path.
Tagging @ggevay in case that you have some suggestions for further
optimizations to those 2 builtin views 🙏
0 commit comments