Skip to main content
Glama
jonathan-pap

Power BI Report MCP Server

by jonathan-pap

Layout Grid

pbir_layout_grid

Compute a deterministic grid layout for a Power BI report page, handling margins, gaps, and remaining space. Use instead of multiple visual placement calls to build a page from scratch.

Instructions

Compute a deterministic rows×cols grid; server owns margin/gap/remainder math. Use this INSTEAD of N pbir_add_visual calls when building a page from scratch. planOnly:true (default) returns the plan; planOnly:false validates bindings+layout then writes in one call. See guide('wireframes') for grid-shape selection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsYes
gapsNoPx between cells, both directions (default 5).
rowsYes
cellsYesEmpty slots allowed — don't need to fill every cell.
pageIdNoAuto-resolved when only one page exists.
marginsNoDefault canonical (L=15, R=15, T=0, B=6).
planOnlyNotrue (default) = plan only; false = validate + write.
includeTypesNoReturn full {visualId,visualType,slotRef,x,y,width,height} per cell instead of slim ids.
strictLayoutNotrue=strict (default), false=warn. Omit for env default.
strictBindingsNoCommit-mode only (ignored when planOnly:true). true=strict (default), false=warn. Omit for env default.
reserveBannerRowNoStart grid at y=57, leaving top 52px for a banner shape (add separately via pbir_add_visual).
Behavior4/5

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

The description adds behavioral details beyond the sparse annotations: server handles margin/gap math, planOnly mode behavior, and reserveBannerRow effect. No contradictions.

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 sentences with zero waste. Front-loaded with purpose, followed by usage guidance and key behavioral notes.

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 complexity (11 params, nested objects, no output schema), the description covers core behavior and usage. However, it lacks details about the return format of the plan, which is a minor gap.

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 82%, so most parameters are documented. The description adds value by summarizing planOnly behavior and referencing guide('wireframes'), though it doesn't explain each parameter individually.

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 computes a deterministic grid and positions cells, and distinguishes it from N pbir_add_visual calls. It also explains the planOnly mode.

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?

Explicitly says 'Use this INSTEAD of N pbir_add_visual calls when building a page from scratch.' It also differentiates when to use planOnly:true vs false, providing clear context.

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/jonathan-pap/powerbi-report-mcp'

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