Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

load_table_from_url

Load data from a remote URL into a Fabric Data Warehouse table using COPY INTO, supporting CSV and PARQUET files with optional credentials for secured URLs.

Instructions

Load data into a Data Warehouse table via COPY INTO from a remote URL.

Supported file types: CSV, PARQUET. JSON remote URLs require downloading and converting locally first; use the CLI tables load command for local files (including JSON).

For OneLake or same-tenant URLs, no credential is needed. For secured external URLs (Azure Blob Storage SAS, etc.), supply credential_type and the appropriate secret/identity values.

CAUTION: This operation loads data into the target table. Confirm the source URL and target table before calling.

Note: secret / identity values are accepted but are NEVER logged or included in any debug output.

Args: workspace: Workspace name or GUID. item: Warehouse name or GUID. SQL Analytics Endpoints are rejected. qualified_name: Dot-separated qualified table name, e.g. dbo.sales. url: Source URL (OneLake DFS URL or external Azure Blob URL). file_type: CSV or PARQUET. credential_type: Credential type for the source URL. secret: Credential secret (not logged). identity: Identity for managed-identity or service-principal. delimiter: CSV column delimiter. has_header: Whether the CSV file has a header row. encoding: CSV file encoding. field_quote: CSV field-quote character. row_terminator: CSV row terminator. max_errors: Maximum errors before aborting. rejected_row_location: URL for rejected-row output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
itemYes
secretNoCredential secret (SAS token, client secret, or account key). NEVER log or echo this value.
encodingNoCSV file encoding (e.g. 'UTF8', 'UTF8BOM').
identityNoIdentity value for managed-identity or service-principal credential types.
delimiterNoCSV column delimiter (e.g. ',', '\t').
file_typeYesFile type to load. JSON is not supported for remote URLs; download and convert locally first.
workspaceYes
has_headerNoWhen True, the first CSV row is a header and is skipped.
max_errorsNoMaximum number of errors before aborting.
field_quoteNoCSV field-quote character.
qualified_nameYes
row_terminatorNoCSV row terminator (e.g. '\n', '\r\n').
credential_typeNoCredential type for secured external URLs. Use 'none' for OneLake or public URLs.none
rejected_row_locationNoURL to write rejected rows to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full responsibility. It discloses important behavioral traits: credentials are never logged, OneLake/same-tenant URLs need no credential, JSON remote URLs are unsupported, SQL Analytics Endpoints are rejected, and it provides a CAUTION alert about loading data into the target table. It stops short of explaining whether data is appended or replaced, but the overall behavioral disclosure is strong.

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 well-structured: a clear purpose statement, supported file types, credentials, a caution, a security note, and a thorough Args list. Every section adds necessary information for correct use at the appropriate level of detail. It is longer than average but appropriately so for a complex 15-parameter tool.

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?

The description covers the essential operational context: supported file types, authentication scenarios, security guarantees, target table caution, and parameter semantics. With an output schema present, return values need no explanation. The only notable gap is not clarifying the append-vs-overwrite behavior of COPY INTO and not explicitly differentiating from the sibling 'import_table_from_url'.

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 only 73%, and the description compensates by documenting every parameter in the Args section. It adds meaningful examples such as 'dbo.sales' for qualified_name, clarifies 'SQL Analytics Endpoints are rejected' for item, and explains URL and credential semantics beyond the schema. This fully resolves the schema coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's core action: 'Load data into a Data Warehouse table via ``COPY INTO`` from a remote URL.' This identifies the specific verb, resource, and method. However, it does not explicitly distinguish itself from the sibling tool 'import_table_from_url', which also likely involves URL-based loading, so it just misses the full 5.

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?

The description gives clear usage context: use for remote URLs, use CLI for local files, JSON remote URLs require local conversion, and credentials depend on URL type. It also warns that SQL Analytics Endpoints are rejected, which is an exclusion. It does not explicitly reference sibling MCP tools as alternatives, only the external CLI, so it earns a 4 rather than 5.

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