Skip to main content
Glama
sdebruyn

fabric-dw-mcp-cli

by sdebruyn

add_security_predicate

Adds a FILTER predicate to an existing row-level security policy. Specify workspace, warehouse, policy name, predicate function with arguments, and target table schema and name.

Instructions

Add a FILTER predicate to an existing row-level security policy.

Executes ALTER SECURITY POLICY ... ADD FILTER PREDICATE. There is no predicate-type or operation parameter (#966): Fabric Data Warehouse supports FILTER predicates only.

Args: workspace: Workspace name or GUID. item: Warehouse or SQL endpoint name or GUID. policy_name: Qualified policy name ("schema.name" or "name"). fn_name: Name of the predicate function. fn_args: Column names to pass to the predicate function. table_schema: Schema name of the target table. table_name: Name of the target table. fn_schema: Schema name of the predicate function (optional -- omit when the function lives in the default schema).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
fn_argsYes
fn_nameYes
fn_schemaNo
workspaceYes
table_nameYes
policy_nameYes
table_schemaYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries full burden. It describes the SQL command executed but does not disclose side effects, permissions required, error conditions (e.g., policy must exist, function must exist), or behavior if predicate already exists.

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 with a one-line summary, a brief explanation, and an Args list. It is front-loaded and concise, with no extraneous information.

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?

The description thoroughly covers the 8 parameters (7 required) but lacks behavioral context such as prerequisites (e.g., policy must exist) and output details. Since there is an output schema, the absence of return value explanation is acceptable, but more behavioral completeness would improve the score.

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 Args section explains each parameter clearly, including that 'fn_schema' is optional and 'policy_name' should be qualified. It adds meaning beyond the input schema, which has 0% description coverage. The description clarifies that 'fn_args' are column names passed to the function.

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 adds a FILTER predicate to an existing row-level security policy, using the specific SQL command. It distinguishes from related tools like 'drop_security_predicate' and 'create_security_policy'.

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 mentions that there is no predicate-type or operation parameter because Fabric Data Warehouse only supports FILTER predicates, which is a useful caveat. However, it does not provide explicit guidance on when to use this tool versus alternatives or what prerequisites exist.

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