dlt-doctor
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_pyspark_sourceA | Statically analyze PySpark or Delta Live Tables (DLT) Python source code for Catalyst plan bloat, anti-patterns, skew risks, watermark reordering, and missing quarantine gates. Usage Guidelines:
Behavior:
|
| analyze_sql_sourceA | Audit Databricks SQL or Delta Live Tables (DLT) SQL source code for quality expectation risks, Cartesian joins, schema drift traps, and optimization opportunities. Usage Guidelines:
Behavior:
|
| scan_pipeline_directoryA | Recursively scan a local repository or directory of PySpark (.py), SQL (.sql), and Databricks notebook (.ipynb) files to produce an aggregated lakehouse quality audit report. Usage Guidelines:
Behavior:
|
| forecast_dbu_costA | Forecast Databricks DBU consumption and compute costs (Classic compute vs. Serverless) and recommend optimal worker sizing based on ingestion throughput and shuffle complexity. Usage Guidelines:
Behavior:
|
| audit_compaction_debtA | Evaluate Delta Lake table file-size distribution for small-file fragmentation debt and synthesize targeted OPTIMIZE, ZORDER BY, Liquid Clustering, and TBLPROPERTIES SQL commands. Usage Guidelines:
Behavior:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Registered Diagnostic Rules | Catalog of all static AST and Lakehouse diagnostic rules in dlt-doctor. |
TDQS
Scored across 5 tools
Each tool has a clearly distinct target: PySpark source, SQL source, directory scanning, Delta compaction debt, and DBU cost forecasting. The descriptions explicitly cross-reference alternatives when the scope might overlap, such as single-file analysis versus full-directory scanning.
All names use a consistent snake_case verb_noun pattern: analyze_pyspark_source, analyze_sql_source, audit_compaction_debt, scan_pipeline_directory, and forecast_dbu_cost. The verbs are varied but predictable and readable.
Five tools is well-scoped for an offline lakehouse pipeline audit toolkit. Each tool covers a distinct practical need, with no redundant or filler operations.
The surface covers the apparent domain well: single-file PySpark analysis, single-file SQL analysis, full-directory/repository scanning, Delta table compaction remediation, and DBU cost forecasting. The tools work together as a coherent advisory suite without obvious dead ends.