Skip to main content
Glama

bridge_screenshot

Capture pixel-accurate PNG screenshots of Power BI report pages from a running Desktop session and write them to an output directory for render verification.

Instructions

UNSAFE-FOR-PIPELINE (interactive attach only): capture pixel-accurate PNG renders of report pages from a RUNNING Power BI Desktop (report.snapshot.capture/v1) and write them to outDir - the render-verification half of the edit/see loop. Pass pageName (page GUID or displayName) for one page, or allPages=true for the whole report (needs an on-disk PBIR definition to enumerate). Returns per-page paths + status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidYesDesktop process id from bridge_status / open_desktop
scaleNorender scale 1..3 (default 2)
outDirYesdirectory the PNGs are written to (created if missing)
allPagesNocapture every page of the report (needs the on-disk PBIR page list)
pageNameNopage GUID name or displayName; omit when allPages=true
timeoutSecNoper-call timeout in seconds (default 60)
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the unsafe-for-pipeline nature, the need for a running desktop, the file-writing side effect, and the condition that allPages requires an on-disk PBIR definition. It also mentions return values. This goes beyond basic schema info, though it does not cover all potential edge cases.

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?

The description is two sentences, front-loaded with the critical safety warning, then proceeds to action and usage details. Every clause provides value; no filler or repetition.

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?

Given the tool has 6 parameters and no output schema, the description adequately covers prerequisites (running desktop, interactive attach), input selection logic, and output (per-page paths + status). It does not document error cases or side effects beyond writing PNGs, but it is sufficient for an agent to select and invoke the tool correctly.

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% and each parameter already has a description. The tool description adds extra meaning by explaining the relationship between pageName and allPages (e.g., page GUID vs displayName, allPages requires PBIR definition), which enhances understanding beyond the schema alone.

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?

The description clearly states the tool captures pixel-accurate PNG renders of report pages from a running Power BI Desktop and writes them to outDir. It uses specific verbs and resources, distinguishing it from sibling tools like bridge_status or bridge_reload.

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?

Provides clear context: it is the render-verification half of the edit/see loop, and explicitly warns it is 'UNSAFE-FOR-PIPELINE (interactive attach only)'. It explains how to choose between pageName and allPages. However, it does not explicitly name alternative tools, just implies when this one is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyphonica/powerbi-pbix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server