dimctx
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIMCTX_ATLAS | No | Path to the atlas.json engineering table graph (optional; the server runs without it, only corpus retrieval would be empty). | |
| DIMCTX_CANON_DIR | No | Path to your local markdown modeling corpus directory (optional; if unset, search_canon returns empty with a configuration hint and does not error or access the network). |
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
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_tableA | 判定一张表的角色(fact/dimension)、粒度键、SCD 建议与总线矩阵格值。 Args: table: 图谱中的表名(如 dt_batch)。与 ddl 二选一。 ddl: CREATE TABLE 文本(table 不在图谱时使用)。 |
| search_canonB | 检索本地自备的 Kimball 方法论语料(原典 markdown)。 Args: query: 检索词(中英文均可,如 "slowly changing dimension")。 limit: 返回条数上限(1-20)。 |
| bus_matrixA | 查询总线矩阵:单表全部格值 / 单维度实现表 / 全库概览。 Args: table: 表名(返回该表各维度格值)。 dim: 维度概念名(如 supplier,返回全部实现表+类型一致性)。 |
| check_conformed_factsA | 一致性事实检查:同名度量在多张事实表出现时,定义/单位/过滤/时间口径必须完全一致;不兼容则按原典须改名。 Args: facts: 各处定义列表,每项 {"name","table","definition","unit","filter","time_basis"}。 table: 可选,只看该表。 |
| measure_sqlB | 度量下游取数复杂度(CASE WHEN / JOIN 深度 / 子查询层数 / 聚合套聚合)。 Args: sql: 待检查的 SQL 文本。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Most tools have clearly distinct purposes: analyze_table for table role/grain/SCD analysis, search_canon for methodology lookup, bus_matrix for querying existing matrix data, check_conformed_facts for fact consistency, and measure_sql for SQL complexity. There is minor overlap between analyze_table (which suggests bus matrix cell values) and bus_matrix (which retrieves them), but the descriptions differentiate them adequately.
All names use snake_case and four of five follow a verb_noun pattern (analyze_table, search_canon, check_conformed_facts, measure_sql). The exception is bus_matrix, which is noun-only, but the overall convention remains predictable.
Five tools is well-scoped for a focused Kimball dimensional modeling assistant. Each tool covers a distinct analytical operation without redundancy or excessive surface area.
The surface covers core dimensional modeling workflows: table analysis, methodology retrieval, bus matrix queries, conformed fact checks, and SQL complexity measurement. Minor gaps remain, such as explicit conformed dimension checking or SCD implementation guidance beyond what analyze_table provides, but these are manageable workarounds.