Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

export_workstation

Writes all workstation queries to disk as a portable scaffold workspace or standalone .dax files, making in-memory queries permanent and reusable.

Instructions

Export all workstation queries as a scaffold workspace or .dax files.

This is the "make it permanent" step — writes the in-memory workstation to disk as a portable project.

Parameters: output_dir: Directory to write the exported files. connections_dir: Unused (kept for API compat). format: "scaffold" creates a full project (run_queries.py, pyproject.toml, README, and queries/ dir). "dax" writes only .dax files.

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": {
      "output_dir": "<output_dir>"
    },
    "name": "export_workstation"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoscaffold
output_dirYes
connections_dirNoConnections

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose real behavior: it writes to disk, enumerates the files produced in scaffold mode (run_queries.py, pyproject.toml, README, queries/), and flags connections_dir as unused. It does not say whether existing files are overwritten, what happens on invalid output_dir, or whether errors are raised, which matters for a filesystem mutation.

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?

Front-loaded summary sentence followed by a compact parameter list; the "make it permanent" gloss adds understanding rather than filler. The parameter block restates the schema keys, but that is justified given 0% schema coverage.

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?

For a three-parameter export tool with an output schema present, the definition covers purpose, mode selection, and the odd compat parameter. The remaining gap is overwrite/error semantics on the target directory, which an agent would want before writing.

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

Parameters4/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 compensate, and it does document all three parameters: output_dir as the write target, connections_dir as unused/API-compat only, and format with the concrete meaning of each value. Minor gap: default behavior of format is not restated and path conventions are not covered.

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?

States a specific verb and resource ("Export all workstation queries") plus the exact output artifacts ("scaffold workspace or .dax files"), and the framing "writes the in-memory workstation to disk as a portable project" makes its scope distinct from file-format siblings like export_to_csv.

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?

The phrase "This is the 'make it permanent' step" clearly signals the situation in which to call it, and the format parameter's two modes let an agent pick a variant. It stops short of naming alternatives such as export_query_pack or export_to_csv or stating when not to use it.

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