Skip to main content
Glama

bus_matrix

Queries the dimensional bus matrix to list a table’s cell values, a dimension’s implementing tables with type consistency, or a database-wide overview for model review.

Instructions

查询总线矩阵:单表全部格值 / 单维度实现表 / 全库概览。

Args: table: 表名(返回该表各维度格值)。 dim: 维度概念名(如 supplier,返回全部实现表+类型一致性)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bus_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimNo
tableNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It does disclose what each mode returns (cell values per dimension; implementing tables plus type-consistency results for a dimension), which is genuinely useful, but it never states that this is a read-only operation, what the overview returns, or how the two optional parameters interact when both are set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the tool's purpose, then an Args block that maps one line per parameter. No filler or repetition. Slightly terse in that the overview mode is listed in the first line but never tied to a concrete invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-shape explanation is not required, and both optional parameters are documented. What remains missing is small but real: how to explicitly request the whole-database overview and how to handle the both-parameters-given case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does: both `table` and `dim` get meaning plus an example ('supplier') and expected return content per parameter. The gap is that the empty-string defaults and their overview behavior are not spelled out, nor is precedence when both are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('查询总线矩阵') and enumerates three distinct query modes: all cell values for one table, implementation tables for one dimension, and whole-database overview. The mode split is concrete enough to distinguish it from siblings like analyze_table or check_conformed_facts, though it never explicitly contrasts with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied through parameter semantics: pass table for per-table cells, pass dim for a dimension's implementations, and the overview mode is implied by passing neither. There is no explicit 'use this when / not when' statement, no mention of sibling tools as alternatives, and no rule for what happens if both table and dim are supplied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.