Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

transfer_procedure

Move a stored procedure to another schema in a Microsoft Fabric warehouse or SQL analytics endpoint using ALTER SCHEMA TRANSFER. Avoids recreating the procedure, but note that its stored definition may still show the old schema name.

Instructions

Move a stored procedure to another schema via ALTER SCHEMA ... TRANSFER OBJECT::....

Stored procedures are supported on both Fabric Data Warehouses and SQL Analytics Endpoints; unlike transfer_table, no endpoint guard is applied here.

CAUTION: ALTER SCHEMA ... TRANSFER moves the procedure but does NOT rewrite the schema name inside its stored definition. After a transfer, get_procedure may still show the OLD schema name in the CREATE ... AS header even though the procedure now lives in the new schema.

Args: workspace: Workspace name or GUID. item: Warehouse or SQL endpoint name or GUID. qualified_name: Current dot-separated qualified procedure name, e.g. dbo.usp_load. target_schema: Schema to move the procedure into, e.g. archive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
workspaceYes
target_schemaYes
qualified_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the ALTER SCHEMA ... TRANSFER mechanism, warns that the schema name inside the stored definition is not rewritten, and notes that get_procedure may still show the old schema. This goes well beyond a bare action.

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?

The description is compact and structured: action, supported environments, a high-value caution, then parameters. Each sentence adds new information; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating transfer tool with no annotations and an output schema, the description covers the full invocation contract: identify workspace/item, current qualified name, target schema, and the most surprising side effect. No critical selection or invocation detail is missing.

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 Args section is essential. It defines all four parameters, clarifies item as Warehouse/SQL endpoint name or GUID, and gives concrete examples for qualified_name and target_schema (dbo.usp_load, archive), providing meaning the title-only schema lacks.

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 opens with a specific verb-resource pair ('Move a stored procedure to another schema') and names the underlying SQL command, making the tool's function unambiguous. It also differentiates from transfer_table by noting the absence of an endpoint guard.

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?

States that the tool works for stored procedures on both Fabric Data Warehouses and SQL Analytics Endpoints, and contrasts with transfer_table. It does not explicitly list conditions for when to prefer it over other transfer_* siblings, but the context is sufficient.

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