Skip to main content
Glama

run_dax_regression

Run DAX queries against a baseline JSON, applying tolerance to flag result differences.

Instructions

Run DAX queries vs a baseline JSON and diff results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queries_jsonNo[]
baseline_pathYes
tolerance_pctNo
query_executorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description must carry safety and side-effect disclosure. It states that it runs queries and diffs results, but gives no information about whether this requires an active connection, whether it writes any artifacts, what happens when queries fail, or what tolerance_pct does. The behavioral surface is largely unexplained.

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?

The description is a single, front-loaded sentence with no filler. It is appropriately compact for a tool whose purpose is stated in one line, although this brevity comes at the cost of completeness.

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?

For a tool with four parameters, no annotations, and a broad sibling list, this one-line description is incomplete. It fails to explain how queries_json should be structured, what baseline_path must contain, the meaning of tolerance_pct, or when the tool should be selected over diff_models. The presence of an output schema doesn't compensate for missing input and usage guidance.

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%, so the description must compensate. It maps loosely to queries_json and baseline_path via 'DAX queries' and 'baseline JSON', but tolerance_pct and query_executor are never mentioned and no formats or constraints are given. This leaves an agent guessing at required input semantics.

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 identifies the action: execute DAX queries and compare the results against a baseline JSON, producing a diff. This clearly distinguishes it from siblings like diff_models by tying the operation to query results and a baseline file. It is specific, though it doesn't explicitly name alternatives.

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 use this tool, when not to use it, or how it relates to siblings such as diff_models or run_refresh. The word 'regression' implies testing, but the description never states prerequisites (e.g., an existing baseline file) or scenarios.

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