Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

get_table_detail

Read-only

Retrieve detailed structured context for a single table in a Power BI semantic model using a connection name and table name.

Instructions

Return detailed structured context for a single table.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "connection_name": "<connection_name>",
      "table_name": "<table_name>"
    },
    "name": "get_table_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_nameYes
connection_nameYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

C2.4/5.0
Behavior2/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description needs to add something else, and it does not. It omits what happens when the table is unknown, whether it reads from a filesystem connections directory, and how expensive the call is; the existence of an output schema covers return shape but not behavior.

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?

A single well-formed sentence with the resource front-loaded and no filler. Its brevity is not the problem; the missing content is scored under the other dimensions.

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

Completeness2/5

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

With an output schema present, return values need not be spelled out, but a three-parameter lookup tool sitting among many overlapping context/schema siblings needs more: what the "detailed context" contains and how it differs from get_schema or get_connection_context. As written the definition is too thin for that landscape.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description carries the full burden and mentions none of them. In particular, connections_dir with its "Connections" default and the required connection_name/table_name pairing are left entirely unexplained.

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

Purpose3/5

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

"Return detailed structured context for a single table" gives a verb and a resource, but "structured context" is vague about what is actually returned, and it barely improves on the tool name. It also offers no differentiation from overlapping siblings such as get_schema, get_measure_detail, or get_connection_context.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says whether this should be called before or instead of get_schema or get_context_bundle, nor what prerequisites (an existing connection, a known table) are needed. Only the phrase "single table" implies a scope constraint.

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