Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

drop_function

Drop a T-SQL user-defined function from a Microsoft Fabric Warehouse or SQL Analytics Endpoint, with an option to skip if the function does not exist.

Instructions

Drop a T-SQL user-defined function.

Function DDL is supported on both Data Warehouses and SQL Analytics Endpoints.

Args: workspace: Workspace name or GUID. item: Warehouse or SQL Analytics Endpoint name or GUID. qualified_name: Dot-separated qualified function name, e.g. dbo.fn_clean_input. if_exists: When true, a missing function is treated as a no-op and {"dropped": false} is returned instead of raising an error. Defaults to false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
if_existsNo
workspaceYes
qualified_nameYes

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 explains the if_exists parameter behavior and return value format. It implies destructiveness but does not mention side effects like cascading drops or permission requirements. Adequate for the operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is concise with no filler. Front-loaded purpose sentence, then brief parameter explanations. Every sentence adds value.

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?

Given an existing output schema, explanation of return values is unnecessary. Covers parameters, conditional behavior, and supported platforms. Lacks mention of error conditions or prerequisites, but sufficient for typical use.

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 coverage is 0%, so the description must compensate. It explains each parameter in detail: workspace (name or GUID), item (name or GUID), qualified_name (with example), and if_exists (when true, no-op return). Adds significant meaning beyond schema types.

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 'Drop a T-SQL user-defined function' with a specific verb and resource. It distinguishes from sibling tools like create_function or update_function.

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 context on supported environments (Data Warehouses and SQL Analytics Endpoints) but does not explicitly state when to use this tool versus alternatives or when not to use it. No exclusion criteria or alternative tool names are given.

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