Run a Best Practice Analyzer over the connected semantic model (performance, DAX, naming, formatting, maintenance, error-prevention rules). Returns findings with severity, the offending object, and a fix hint.
AI agents call run_bpa to retrieve information from Power BI MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool analyzes the semantic model and returns findings/recommendations. It is a read/audit operation that retrieves analysis results without modifying, executing, or deleting any data. The output is informational (severity ratings, fix hints), making this a Read category tool with low severity.
From the tool's definition Run a Best Practice Analyzer over the connected semantic model... Returns findings with severity, the offending object, and a fix hint.
Attacks that exploit this kind of access
Run a Best Practice Analyzer over the connected semantic model (performance, DAX, naming, formatting, maintenance, error-prevention rules). Returns findings with severity, the offending object, and a fix hint. It is categorised as a Read tool in the Power BI MCP Server MCP Server, which means it retrieves data without modifying state.
Register the Power BI MCP Server MCP server in PolicyLayer and add a rule for run_bpa: 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.
run_bpa is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the run_bpa 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 run_bpa. 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.
run_bpa 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.