Skip to main content
Glama
dax-query-server

dax-query-server

by wes-stone

inspect_model_metadata

Read-only

Probes raw connection strings to inspect model metadata and returns preview rows as markdown tables for quick validation.

Instructions

Backward-compatible metadata probe for raw connection strings. Present previews as markdown tables.

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_string": "<connection_string>"
    },
    "name": "inspect_model_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
preview_rowsNo
connection_stringYes
command_timeout_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

C2.7/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's burden is lighter. It adds that previews are rendered as markdown tables and that behavior is backward-compatible, which is useful context, but it says nothing about whether the connection is opened/live-queried, error behavior on bad connection strings, or the cost of a large preview.

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, front-loaded sentences with no filler; the purpose statement comes before the output-format note. It is efficient, though the brevity is partly under-specification rather than disciplined editing.

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 values need not be described, but the tool still takes an undocumented raw connection string and a long default timeout with zero schema descriptions. For a probe that opens an external connection, the definition leaves too much for the agent to guess.

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 carry parameter meaning and largely fails. "Previews" loosely hints at preview_rows, but connection_string and command_timeout_seconds (default 300) get no explanation of format, encoding, or timeout implications.

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 names a verb-ish action ("metadata probe") and a resource (metadata reachable from a raw connection string), which is more specific than a tautology. However, "metadata" is never qualified -- it is unclear whether this covers tables, schemas, capabilities, or versions, and nothing distinguishes it from siblings like inspect_connection or probe_tmschema_capabilities.

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?

"Backward-compatible" and "for raw connection strings" only implicitly scope usage; the agent must infer that this is for callers holding a connection string rather than a saved connection. No alternative is named, no when-not condition is given, and prerequisites (permissions, network reachability) are unstated.

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