Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

get_measure_detail

Read-only

Retrieve detailed structured context for a single measure to inspect its definition and metadata in a Power BI semantic model.

Instructions

Return detailed structured context for a single measure.

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>",
      "measure_name": "<measure_name>"
    },
    "name": "get_measure_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
measure_nameYes
connection_nameYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

C2.7/5.0
Behavior2/5

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

The readOnlyHint=true annotation already establishes the safety profile, so the description only needed to add substance such as what 'detailed structured context' contains or whether it can fail on unknown measures. Instead it restates the read behavior in vague terms, adding almost nothing beyond the annotation.

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?

It is a single clean sentence with no filler, and the resource scope is front-loaded. The brevity is appropriate in form, though the same terseness is what leaves the gaps noted in 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?

An output schema exists, so return values need not be explained, but with 0% parameter coverage and no usage guidance the definition is under-specified for a three-parameter tool. An agent could not reliably determine what connections_dir does or when this tool beats its near-identical siblings.

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 largely fails: it implies a single measure_name but says nothing about connection_name being required or what connections_dir (default 'Connections') controls. An agent gets no help distinguishing these inputs.

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?

The description states a specific verb ('Return') and resource ('detailed structured context for a single measure'), making the operation and its singular scope clear. It does not differentiate itself from closely named siblings such as get_table_detail or get_connection_context, leaving the agent to infer the distinction from names alone.

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 guidance on when to call this tool versus get_table_detail or get_context_bundle, no stated prerequisites (e.g., needing an existing connection), and no exclusions. The agent must guess the usage context from the tool name.

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