Delete a measure from the Power BI Desktop model.
AI agents call delete_measure to permanently remove resources in Power BI MCP Server — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Deletion of measures is a destructive action that cannot be easily undone and permanently removes calculated fields from the Power BI model. This could break dependent calculations, reports, and dashboards relying on that measure. While not as severe as deleting entire datasets, this represents irreversible modification with potential downstream impact on analytics and business logic.
From the tool's definition Tool name is 'delete_measure' and description states it will 'Delete a measure from the Power BI Desktop model.' The verb 'delete' combined with the action of removing a measure from a model indicates irreversible data loss.
Attacks that exploit this kind of access
Delete a measure from the Power BI Desktop model. It is categorised as a Destructive tool in the Power BI MCP Server MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Power BI MCP Server MCP server in PolicyLayer and add a rule for delete_measure: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Power BI MCP Server. Nothing to install.
delete_measure is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the delete_measure rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for delete_measure. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
delete_measure is provided by the Power BI MCP Server MCP server (sulaiman013/powerbi-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.