Skip to main content
Glama
Power BI Report MCP Server

Power BI Report MCP Server

Get Visual

pbir_get_visual
Read-only

Retrieve details for a Power BI visual—ID, type, position, title, and bindings—or get full PBIR JSON when verbose output is required.

Instructions

Get visual details. Default returns id/type/position/title/bindings summary. verbose:true returns full PBIR JSON.

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_get_visual"
  }
}

Input Schema

NameRequiredDescriptionDefault
slimNoDeprecated alias for !verbose.
pageIdNoPage ID. Auto-resolved when only one page exists.
verboseNoFull raw PBIR JSON (heavy).
visualIdYesThe visual ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.6

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds real value by disclosing what each mode returns and warning that verbose output is heavy. The only gap is the absence of any note on missing/invalid visualId behavior or pageId fallback, which the schema covers partially.

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?

Two short sentences, front-loaded with the action and followed by the default-versus-verbose branch. Every clause carries information; nothing is padding.

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?

With no output schema, the description correctly takes on the burden of describing the return payload at summary level and differentiates the two output modes. It stops slightly short on the pageId auto-resolution rule, but the schema carries that detail.

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%, so all four parameters are already documented, establishing a baseline of 3. The description reinforces verbose semantics (full PBIR JSON) but adds no meaning beyond the schema for slim (deprecated alias) or pageId auto-resolution.

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?

States a specific verb and resource ("Get visual details") and immediately disambiguates the scope by naming what is returned by default (id/type/position/title/bindings) versus in verbose mode. It doesn't explicitly contrast itself with read-only siblings like pbir_get_visual_types, but the resource-level specificity is enough for an agent to select it.

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?

Usage is implied rather than stated: read a single visual's details, use verbose when the full PBIR JSON is needed. There is no explicit when-not guidance or named alternative (e.g. prefer pbir_get_report for whole-report structure), which an agent must infer.

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