Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

get_request_detail

Retrieve full query text and execution metrics for a completed query by its distributed statement ID, drawing from queryinsights.exec_requests_history.

Instructions

Look up a completed query from queryinsights.exec_requests_history.

Uses distributed_statement_id to retrieve full query text and execution metrics after the query completes.

Args: workspace: Workspace name or GUID. item: Warehouse or SQL Analytics Endpoint name or GUID. dist_statement_id: The GUID identifying the distributed statement to look up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
workspaceYes
dist_statement_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the source table, the lookup key, and the returned content (query text and execution metrics), but it does not clarify read-only safety, permissions, or error/not-found behavior.

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?

The description is well-structured with a clear opening sentence and a parameter list. There is minor redundancy between 'completed query' and 'after the query completes,' but the text remains compact and easily scannable.

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 simple lookup tool with an output schema, the description is mostly complete: it identifies the source, the lookup key, the parameters, and the output type. It could be stronger by noting how to obtain distributed_statement_id or how this relates to request history listing tools.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the parameter documentation in the description is essential and effective. Each parameter gets a clear semantic definition, including accepted forms like 'name or GUID' for workspace and item, and 'GUID' for dist_statement_id.

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?

The description states a specific action ('Look up a completed query') and a precise resource (queryinsights.exec_requests_history), and explains that it returns full query text and execution metrics. This distinguishes it clearly from list-oriented siblings like list_request_history and running-query tools.

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 description implies when to use the tool: after a query has completed and when a distributed_statement_id is available. However, it does not explicitly mention alternatives or state 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdebruyn/fabric-dw-mcp-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server