Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

get_query_builder_schema

Read-only

Returns the expected JSON structure and a copyable example payload for building reusable saved queries, so you can format inputs correctly before saving.

Instructions

Return the expected JSON shape and a copyable example payload for save_query_builder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_query_builder_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_nameNoyour_connection

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

B3.4/5.0
Behavior3/5

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

The description ('Return ...') is consistent with readOnlyHint=true, so no contradiction. Beyond that it adds little: it does not say whether the shape is static or derived from the live model, nor whether the returned example is guaranteed valid for save_query_builder. With annotations already declaring the safety profile, this is an acceptable but thin level of disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the purpose and target tool appear immediately. Nothing is redundant or padded.

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 the description need not explain return values, and for a one-parameter read-only helper it conveys the essential purpose. The only real gap is the unexplained role of connection_name in shaping the returned shape.

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?

The single parameter connection_name has 0% schema description coverage and is not mentioned anywhere in the description. The name strongly suggests the returned shape may vary per connection, but the description neither confirms nor denies this, leaving the agent to guess whether the value matters.

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 names a specific verb ('Return') and resources ('expected JSON shape and a copyable example payload'), and ties them explicitly to the sibling tool save_query_builder. That makes it distinguishable from save_query_builder itself and from get_query_builder, though it never states outright that this tool performs no saving or validation.

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?

Usage is only implied: by supplying the expected shape 'for save_query_builder', it signals this should be consulted before calling that tool. There is no explicit when-to-use instruction, no exclusion, and no mention of alternatives such as get_query_builder or get_schema, so the agent must infer the sequencing.

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