Skip to main content
Glama
HorizunGroup

Horizun PBI MCP

Official
by HorizunGroup

pbi_apply_page_spec

Apply a Power BI page specification in one transaction to create, update, or detect no change, with merge or replace sync modes, and optional dry-run planning.

Instructions

Materializa el spec como una pagina PBIR, en UNA transaccion.

Cuatro desenlaces explicitos: create (no existe), update (existe y el spec cambia algo), no_change (ya coincide) y conflict (el nombre no identifica una sola pagina).

page: id o nombre visible de la pagina a actualizar. Si se omite, se usa el nombre del spec. Al actualizar se CONSERVAN el id de la pagina y el de cada visual que siga representando lo mismo.

sync_mode: merge (por defecto) anade y actualiza pero no borra lo que el spec no menciona; replace ademas elimina los visuales ausentes. El defecto es conservador para que un spec parcial no pueda vaciar una pagina por omision.

interactions: que le hace un visual a otro al seleccionar en el. Cada visual del spec se puede senalar por su POSICION en visuals (0, 1, 2...), por el id que se le ponga en el spec, o por su titulo; no hace falta conocer los ids finales, que se generan aqui. Tipos: Default, DataFilter, HighlightFilter, NoFilter (tambien valen filter, highlight y none).

dry_run=true devuelve un plan con plan_token y no escribe nada; aplicalo despues con pbi_apply_plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
seedNo
specYes
dry_runNo
sync_modeNomerge
request_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

The description contradicts the annotations: destructiveHint=false, yet sync_mode=replace 'ademas elimina los visuales ausentes' (deletes absent visuals). This is a direct conflict, forcing a score of 1 per the contradiction rule, despite otherwise rich disclosure of outcomes, id preservation, and dry_run semantics.

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 well-structured and front-loaded: core purpose first, then outcomes, then per-parameter explanations. Each sentence adds necessary information; the formatting with backticks and line breaks improves readability without bloat.

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?

For a complex tool, the description covers outcomes, parameter behaviors, interaction referencing/types, and dry_run. It omits seed and request_id, and the spec object's schema is not detailed, but the presence of an output schema reduces the burden for return-value explanations. Overall strong, with minor 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?

With schema description coverage at 0%, the description compensates by explaining page (id/name, defaults), sync_mode (merge vs replace, conservative default), interactions (referencing by position/id/title, types), and dry_run (plan_token, no write). However, seed and request_id are not mentioned, and spec's full structure is only partially addressed.

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 opens with a specific verb and resource: 'Materializa el spec como una pagina PBIR, en UNA transaccion.' It clearly distinguishes the tool's role as the writer (apply) versus preview/validate siblings, and enumerates four explicit outcomes (create, update, no_change, conflict).

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 description gives clear context: it applies a page spec transactionally, with dry_run as a safe planning mode, and explicitly mentions pbi_apply_plan as a follow-up. It does not explicitly exclude alternatives or state when not to use, but the usage context is well-defined.

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/HorizunGroup/horizun-pbi-mcp'

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