Skip to main content
Glama
Power BI Report MCP Server

Power BI Report MCP Server

Delete Visual

pbir_delete_visual
Destructive

Permanently delete a single visual from a Power BI report page by visual ID. Use it to remove an unwanted visual when the deletion is irreversible.

Instructions

Permanently delete one visual from a page. Irreversible. To remove several at once, use pbir_bulk_delete_visuals.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "visualId": "<visualId>"
    },
    "name": "pbir_delete_visual"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage ID. Auto-resolved when only one page exists.
visualIdYesThe visual ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.6

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is known. The description adds the irreversibility emphasis ('Permanently... Irreversible'), but says nothing about downstream effects — e.g., what happens to layout slots, filters, or interactions referencing the deleted visual.

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?

Three very short sentences, zero filler, with the action and its irreversibility front-loaded before the alternative-tool pointer. Every sentence earns its place.

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?

For a two-parameter destructive delete with full schema coverage and annotations covering the safety profile, the definition is nearly complete. The only missing piece is the side-effect surface of deletion, which matters for an agent deciding whether to proceed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the description adds no meaning beyond it: it does not explain visualId format or echo the auto-resolution behavior of pageId. Baseline 3 applies when the schema already documents all parameters.

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?

States a specific verb and resource ('Permanently delete one visual from a page') with explicit singular scope, which cleanly separates it from pbir_bulk_delete_visuals and from pbir_delete_page / pbir_delete_bookmark.

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?

Names the alternative (pbir_bulk_delete_visuals) and the condition selecting it ('to remove several at once'), which is exactly the routing decision an agent faces. It gives no guidance on prerequisites such as whether pageId must be supplied when multiple pages exist, so it falls just short of the top score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.