Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

list_validated_queries

Read-only

Lists connection-scoped validated query metadata so you can find reusable DAX query artifacts. Set include_dax to true only when you need the actual DAX examples.

Instructions

List connection-scoped validated query metadata.

Set include_dax=True only when you need the actual DAX examples; context bundles intentionally include metadata only.

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": "list_validated_queries"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_daxNo
connection_nameYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

A3.6/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, so the description earns credit for adding content-level behavior: the default response is metadata only, and DAX examples are intentionally excluded unless requested, including for context bundles. It does not describe what happens if the connection is unknown, but for a read-only list tool the added context is solid.

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?

Two short sentences with zero filler, and the primary action is front-loaded ahead of the parameter caveat. The line break mid-sentence is slightly awkward but does not obscure meaning.

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

Completeness3/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, and annotations cover read-only safety. Still, with zero schema descriptions and a required connection_name plus a connections_dir parameter, the definition leaves an agent guessing about where connections come from and what a valid value looks like.

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

Parameters3/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 carry the burden. It explains include_dax semantics well, effectively documenting one of three parameters, but leaves connection_name (the required parameter) and connections_dir entirely unexplained beyond the vague 'connection-scoped' phrase.

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 and resource with a scope qualifier: 'List connection-scoped validated query metadata.' An agent can tell it is a read of validated queries tied to a connection. It does not explicitly contrast with search_validated_queries or list_queries, so sibling differentiation is left to inference.

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?

The description gives a clear conditional for include_dax ('only when you need the actual DAX examples'), which is useful decision guidance. However, it offers no guidance on when to choose this tool over search_validated_queries, nor any prerequisite about the connection needing to exist.

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