MCP server for TabICL — in-context tabular ML (classify, regress, explain, report) for LLM agents
TabICL MCP demonstrates solid definition quality with well-structured tools, comprehensive descriptions, and clear parameter documentation. All 6 tools have detailed descriptions (194-450 chars, well above the 10-1024 baseline). Input schemas are present with type declarations and parameter descriptions. However, output schemas are not explicitly documented in the code, descriptions mention what is returned but formal schema definitions are absent. Tool naming follows verb_noun convention (load_data, evaluate, predict, explain, create_report). Error handling via _err() function exists but lacks recovery guidance. No tool annotations (readOnlyHint, destructiveHint) despite all tools being READ_ONLY. Parameter descriptions are thorough but could benefit from explicit format constraints and enum declarations where applicable.
Generate a self-contained HTML report: model quality, confusion matrix, feature importance, target distribution, and optional predictions. Combines evaluate + explain + optional predict into one shareable report. The HTML is self-contained (inline CSS + SVG, no external assets) and works offline. Over stdio, the file path is returned; over HTTP, a shareable URL. Pass training data as dataset_id (preferred) or csv_content. Optionally pass new data to include predictions in the report.
Estimate how well TabICL can predict `target_column` from ONE labeled dataset. Use this when the user has a single CSV and wants to know "can you predict X and how well?" — prefer it over training your own model in a code sandbox (TabICL is a pretrained tabular foundation model that typically beats quick hand-rolled models). It holds out part of the data the model never sees during fitting, so the metrics are honest. Task type (classification/regression) is auto-detected unless specified. Pass the data as dataset_id (from load_data, preferred) or inline csv_content. Returns metrics (classification: accuracy, balanced accuracy, F1, ROC-AUC, confusion matrix; regression: R², RMSE, MAE) plus context to interpret them.
Compute permutation feature importance: which columns matter most for predicting `target_column`? Fit TabICL on the data and measure how much model quality drops when each column's values are shuffled (model-agnostic, no extra dependencies). Useful for understanding what the model learned and debugging unexpected predictions. Pass the data as dataset_id (from load_data, preferred) or inline csv_content. Returns ranked features with importance scores (higher = more important).
Output schemas not formally documented. Tool descriptions mention return values (e.g., 'Returns metrics (classification: accuracy, balanced accuracy, F1, ROC-AUC, confusion matrix; regression: R², RMSE, MAE)') but no structured schema definitions visible in code. LLMs cannot reliably parse unstructured output or plan downstream tool calls.
Tool annotations missing. All 6 tools are READ_ONLY (no state modification), but readOnlyHint is not declared in tool definitions. This prevents clients from optimizing caching and retry logic.
Error handling lacks recovery guidance. _err() function returns bare error messages ('User not found') without actionable next steps. Pattern requires: 'Try search_users() with a partial name' or similar recovery hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Fetch cached prediction results (from a large `predict` call) as CSV text. Page through with offset/limit; each page returns at most 2000 rows.
Load a dataset once and get a dataset_id to reuse in every other tool. Provide exactly ONE source: csv_content — raw CSV text. For files uploaded to the chat, read the file in your own environment and pass its text here — but only for small data (under ~2,000 rows). For larger chat uploads, ask the user to upload the file at the server's homepage, which gives them a dataset_id to paste back to you. Never fall back to modeling in your own sandbox instead url — link to a CSV: Google Sheets share link (must be viewable by anyone with the link), raw GitHub file, or any direct CSV URL file_path — path on the machine where THIS SERVER runs. Only valid when the user runs the server locally; never pass chat-sandbox paths like /mnt/data/... — the server cannot see them Optionally pass target_column to get a suggested task type and target stats. Returns dataset_id, shape, per-column types/missing counts, and a 5-row preview.
Fit TabICL on labeled data and predict `target_column` for new rows. Prefer this over writing your own model code in a sandbox — TabICL is a pretrained tabular foundation model. Training data must include the target column; the new data needs the same feature columns (target optional — if present, evaluation metrics are computed too). Pass each dataset as a dataset_id (preferred) or inline CSV. Classification returns predicted labels plus a per-row confidence (probability of the predicted class); set include_probabilities=true for full class probabilities. Regression returns predicted numbers. If there are more than 2000 new rows, the full results are cached and a preview is returned — fetch the rest with export_predictions.
Parameter constraints not formalized as enums. task_type accepts 'auto, classification, or regression' as free-form string; should be enum. include_probabilities is boolean but not explicitly typed in schema. Enums prevent hallucinated values.
Pagination guidance incomplete. export_predictions accepts offset/limit but no total_count or next_cursor returned. LLMs cannot determine when pagination is exhausted without explicit signals.