Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

clear_workstation

Destructive

Removes all saved DAX queries from the in-memory workstation and returns the count removed, so you can reset the query workspace between tasks.

Instructions

Clear all queries from the workstation.

Removes every saved query from the in-memory workstation and returns the count of removed items.

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

Input Schema

NameRequiredDescriptionDefault
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

B3.2/5.0
Behavior3/5

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

The destructiveHint=true annotation already flags this as a destructive operation, so the description's added value is the detail that the queries live in an in-memory workstation and that a count is returned. The "in-memory" qualifier is genuinely useful because it hints at the blast radius, but the definition never says whether the wipe is reversible or what permissions it needs. The return-count sentence overlaps with the existing output schema.

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 the destructive action front-loaded and the side effect second, so there is no wasted framing. The second sentence repeats information the output schema likely already carries, which keeps it from being maximally tight.

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?

The definition covers the core behavior and its return, and the output schema relieves it of explaining response shape. For a destructive bulk operation with one entirely undocumented parameter, though, it should say more about irreversibility and what connections_dir actually does.

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 connections_dir has 0% schema description coverage and the description never mentions it, so an agent gets no guidance on what this directory controls or why it defaults to "Connections". With low coverage the description was expected to compensate, and it does not.

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?

"Clear all queries from the workstation" names a specific verb (clear) and resource (workstation queries) with an explicit scope of "all", which implicitly distinguishes it from the per-item remove_from_workstation sibling. It stops short of naming any sibling explicitly, so the differentiation must be inferred from the word "all".

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 bulk nature of the operation is implied by "every saved query" and "all queries", giving a reader enough to infer this is the wipe-everything option rather than a selective removal. There is no explicit when-to-use, when-not-to-use, or named alternative, and no warning about how to recover afterward.

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