Skip to main content
Glama

design_report_page_from_requirements

Generates a complete Power BI report page layout from a natural language brief. It selects, sizes, positions, and formats visuals to match your analytical goal.

Instructions

Synthesize a complete PBIR report page layout from a natural language brief.

Use this tool when the user asks to:

  • Design or generate a new Power BI report page based on business requirements.

  • Automatically select, size, position, and format visuals matching an analytical goal.

  • Apply professional color schemes and visual hierarchy to a page.

Args: pbip_path: Path to the target .pbip directory. brief: Natural language description of what the report page should convey. page_name: Display name for the newly created report page (default: "Overview"). audience: Target audience ("executive", "analytical", "operational"). palette: Color palette name (default: "okabe_ito"). inspector: Optional model inspector for schema context.

Returns: Dict containing synthesized visual containers, positions, and page metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
briefYes
paletteNookabe_ito
audienceNoexecutive
inspectorNo
page_nameNoOverview
pbip_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for what is clearly a mutating, file-writing operation. It never states whether an existing page of the same name is overwritten, whether the pbip is modified on disk, what permissions or prerequisites apply, or whether the operation is reversible. The Returns line is the only behavioral disclosure and it duplicates the output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence followed by tight, scannable usage bullets and a compact args block. The Returns section is redundant given an output schema exists and could be dropped, but overall there is little waste.

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?

For a six-parameter, zero-coverage-schema, unannotated mutation tool, the parameter documentation is adequate and the output schema covers return values. What is missing is the mutation/side-effect profile (overwrite behavior, disk writes) that the absent annotations leave entirely to the description.

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 description coverage is 0%, so the description must compensate, and it largely does: all six parameters are named with meaning, including defaults for page_name and palette, the accepted audience values, and that inspector is an optional model inspector for schema context. Remaining gap is format detail for pbip_path and the inspector object.

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 opening sentence gives a precise verb and resource: synthesize a complete PBIR report page layout from a natural-language brief. That is far more specific than sibling names like create_report_from_dataset or select_visuals_for_kpis, but the description never explicitly contrasts itself with those siblings, so an agent must infer the boundary.

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?

The 'Use this tool when the user asks to' block gives three concrete triggering scenarios (new page from business requirements, auto visual selection/sizing, applying color schemes and hierarchy). That is clear usage context, but there is no when-not guidance and no named alternative for cases where an existing page should be edited (e.g. edit_report_visual).

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