Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

enable_audit

Enable SQL auditing on a warehouse or SQL analytics endpoint, with optional log retention from 0 to 3650 days.

Instructions

Enable SQL auditing on a warehouse or SQL analytics endpoint.

CAUTION: The pre-flight GET used to round-trip the existing action-group list is eventually consistent and may lag a recent PATCH by several minutes. If the action-group list was changed within that window, this call may silently revert it. Space audit writes at least a few minutes apart.

Args: workspace: Workspace name or GUID. warehouse: Warehouse or SQL analytics endpoint name or GUID. retention_days: Log retention in days (0-3650; 0 = unlimited). Default 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
warehouseYes
workspaceYes
retention_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full burden and reveals a critical behavioral trait: the pre-flight GET is eventually consistent and may silently revert recent changes. This is valuable transparency. However, it does not mention idempotency or behavior when audit is already enabled.

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 concise with a clear purpose statement, a caution note, and parameter explanations. It is well-structured and front-loaded. The caution is somewhat lengthy but necessary for transparency.

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?

Given there is an output schema (not provided), the description does not need to cover return values. However, it omits prerequisites like required permissions or warehouse existence. The caution about eventual consistency is helpful but the description lacks information about error states or idempotency.

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?

The input schema has no descriptions (0% coverage), but the description includes an Args block that explains each parameter beyond the schema's property titles. It clarifies the meaning of workspace, warehouse, and retention_days with range and default, adding significant semantics.

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 clearly states the tool enables SQL auditing on a warehouse or SQL analytics endpoint. This is specific and distinguishes it from sibling tools like 'disable_audit' and 'set_audit_retention'.

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 provides a caution about spacing writes due to eventual consistency, but does not explicitly state when to use this tool versus alternatives such as 'set_audit_retention' or 'add_audit_group'. The caution implies some usage advice but not comprehensive guidance.

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