Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

get_filter_suggestions

Read-only

Retrieve suggested filter names and values from the data dictionary for a connection, so you can choose valid DAX filters before building queries.

Instructions

Return suggested filters and values from the data dictionary.

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_filter_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
filter_nameNo
connection_nameYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the read-only safety profile is covered. Beyond that the description adds nothing: it does not say whether suggestions are derived from live data, from dictionary metadata, or from heuristics, whether results are ranked or capped, or whether they are bounded to the given connection.

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?

One short, front-loaded sentence with no filler or redundant restatement of the name. It is efficient, though the brevity here comes at the cost of substance rather than being a model of tight specification.

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 structure needn't be described, but the tool still presents three undocumented parameters and an ambiguous purpose with zero usage context. For a dictionary-driven suggestion tool that feeds into query building, the definition is too thin to invoke confidently.

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 must compensate and does not. It never explains what filter_name scopes (restrict suggestions to one filter vs. filter the suggestion list), what connections_dir means, or how a blank filter_name is treated, leaving every argument's semantics to be guessed.

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

Purpose3/5

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

The description says the tool returns 'suggested filters and values from the data dictionary', which identifies a resource but leaves the nature of a 'suggestion' undefined (suggested filter names? example values? for a table? for a filter?). It also offers no differentiation from the closely named sibling get_data_dictionary, so an agent cannot tell which of the two to reach for.

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 when-to-use guidance at all: no indication of the workflow step this belongs to (e.g. before building a query with get_query_builder) and no exclusion telling the agent when get_data_dictionary or get_schema would be the better call. The only usage signal is the required connection_name parameter, which is structural rather than descriptive.

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