Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

get_schema

Read-only

Returns schema details for a DAX connection, adding table, column, measure, and filter descriptions from data dictionaries; otherwise points to inspect_connection for live discovery.

Instructions

Return schema information for a connection, enriched with data dictionary descriptions when available.

If a data dictionary file exists for the connection, the response includes table, column, measure, and filter descriptions. Otherwise a basic payload is returned suggesting inspect_connection for live schema discovery.

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

Input Schema

NameRequiredDescriptionDefault
connection_nameYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

A4/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses the meaningfully variable response shape—table, column, measure, and filter descriptions when a dictionary exists, a thinner payload otherwise. It does not mention cost, caching, or error behavior for a missing connection, but the key branching behavior is surfaced.

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 branching condition is front-loaded and the second sentence enumerates what enrichment adds. Three sentences with no filler, though the 'Otherwise a basic payload...' clause could be tightened slightly.

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 values need less explanation, and the description still characterizes both payload variants well. The remaining gap is the unexplained connections_dir parameter, which matters for correct invocation.

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% for two parameters. The description only implies connection_name via 'for the connection'; connections_dir (default 'Connections') is never explained, so an agent gets no guidance on what that directory means or when to override it.

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

Purpose5/5

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

The description uses a specific verb+resource ('Return schema information for a connection') and immediately qualifies the payload as data-dictionary-enriched versus basic. It also names the contrasting tool, inspect_connection, for live schema discovery, so an agent can distinguish it from that sibling.

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

Usage Guidelines4/5

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

It gives a clear conditional context: enriched output when a data dictionary file exists, otherwise a basic payload that points elsewhere. It stops short of an explicit 'use this instead of X when...' rule, but the inspect_connection pointer supplies the main alternative.

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