Skip to main content
Glama

pbi_inspect_report_layout

Read-onlyIdempotent

Inspect scanned Power BI report pages, visual layouts, field bindings, filters, slicer selections, report-level DAX measures, and broken references to audit visuals and fix broken bindings.

Instructions

Inspect scanned Power BI report visual layouts (PBIR and legacy PBIX), pages, visual groups, field bindings (with E2E lineage node IDs), page/visual filters, slicer selections, report-level thin DAX measures, and broken visual references. Returns up to 'limit' reports (default 30) with total_matches and truncated disclosure. Use when auditing report visuals, filters, or broken field bindings. Do NOT use for semantic model schema or model DAX definitions (use pbi_inspect_model or pbi_inspect_table).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pbi_inspect_report_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of reports to return (default: 30, max: 100).
reportNoOptional report name or report GUID substring filter (omit to list scanned reports).
include_visualsNoInclude per-page visual items and field bindings (default: true).
redact_literalsNoScrub filter literals, slicer selections, and free-text boxes (default: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent, closed-world, non-destructive, so safety is covered. Description adds behavior beyond them: default limit 30, maximum results, total_matches and truncated disclosure, and the redact_literals privacy option. Return shape is characterized but not fully detailed.

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 compact sentences: capabilities first, then usage and exclusions. Front-loaded with the resource and scope; no filler.

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?

No output schema and 4 parameters, so the description bears more weight. It covers truncation and total_matches, but doesn't describe the response structure (pages/visuals/bindings shape) or whether lineage node IDs require indexing/scanning prerequisites. Adequate but leaves gaps.

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?

Schema coverage is 100%, so baseline is 3; the description adds the 'limit' default 30 and truncation semantics and explains redact_literals as scrubbing literals, slicer selections, and free-text boxes beyond the schema's brief wording. Also notes omitting 'report' lists scanned reports via the schema.

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+resource and enumerates exactly what is inspected: layouts (PBIR/PBIX), pages, visual groups, field bindings with E2E lineage node IDs, filters, slicer selections, thin DAX measures, broken references. It also names the sibling tools to use for semantic model schema or model DAX.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when auditing report visuals, filters, or broken field bindings' plus an explicit 'Do NOT use for semantic model schema or model DAX definitions (use pbi_inspect_model or pbi_inspect_table)' with alternatives named.

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