Skip to main content
Glama
Power BI Report MCP Server

Power BI Report MCP Server

Update Page Size

pbir_update_page_size

Updates a Power BI report page's width, height, and display option without moving existing visuals; shrinking the canvas can push them outside its bounds.

Instructions

Update the page's width/height and/or displayOption. Does NOT reposition or resize the visuals already on it — they keep their x/y/width/height, so shrinking the page can push them outside the new canvas.

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": "pbir_update_page_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
heightNo
pageIdNoPage ID. Auto-resolved when only one page exists.
displayOptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.6

TDQS

A3.7/5.0
Behavior4/5

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

The only annotation is openWorldHint=false, so the description carries most of the behavioral burden and does so well by disclosing that existing visuals keep their x/y/width/height and may end up outside a shrunken canvas. That is a non-obvious, consequential side effect an agent could not get from the schema. It stops short of covering permissions, reversibility, or what the response looks like.

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 tight sentences with the core action front-loaded and the caveat immediately after. Every clause carries information; nothing is redundant or padded.

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?

There is no output schema and the tool is a mutation with zero required parameters, which raises questions the description leaves open — notably what happens when no parameters are supplied and whether the call is a no-op or errors. The visual-reflow caveat covers the main hazard, but the optional-parameter behavior is a real gap for a four-parameter mutation.

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 only 25% (pageId alone is documented), so the description should compensate more than it does. It names width, height, and displayOption, which maps to the remaining parameters, but adds no semantics for the enum values (FitToPage vs FitToWidth vs ActualSize) or for the fact that all four parameters are optional and what an empty call does.

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?

The description opens with a specific verb+resource: updating a page's width, height, and/or displayOption. This is clearly distinguishable from siblings like pbir_rename_page or pbir_set_page_background. It does not explicitly name a sibling it competes with, keeping it just below a 5.

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 by the operation itself (call it when you want to change page dimensions or display mode), but there is no explicit when-to-use, when-not-to-use, or named alternative. The warning about visuals not being repositioned is scope information rather than routing guidance, so an agent still has to infer the trigger conditions.

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