Skip to main content
Glama
HorizunGroup

Horizun PBI MCP

by HorizunGroup

pbi_apply_plan

Apply a previously calculated Power BI change plan after verifying the project state hasn't changed, rejecting the plan if it no longer matches to avoid unintended modifications.

Instructions

Aplica un plan calculado con pbi_plan_change o con un dry_run.

Verifica que el proyecto siga en el estado sobre el que se planifico; si cambio, rechaza el plan en vez de aplicar algo distinto de lo aprobado.

expected_operation es opcional: si lo indicas, el plan solo se aplica si fue generado para esa operacion (plan_operation_mismatch si no).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
plan_tokenYes
request_idNo
expected_operationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses important behavioral traits: it verifies the project state and rejects the plan if changes occurred, and it supports an optional expected_operation check that returns 'plan_operation_mismatch'. This goes beyond what annotations would provide, though it does not mention permissions, rollback, or the full impact of applying the plan.

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 three short sentences, each serving a distinct purpose: main action, safety check, and optional parameter explanation. It is front-loaded with the core purpose and contains no redundant or filler content.

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?

The description covers the core behavior and the safety mechanism, and the output schema covers return values. However, with 4 parameters and no schema descriptions, the lack of detail on 'plan_token', 'confirm', and 'request_id' makes the description incomplete for a tool that applies potentially significant changes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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. It only explains the 'expected_operation' parameter, detailing its optional nature and the mismatch error. The other three parameters (plan_token, confirm, request_id) are not explained at all, leaving a significant gap in understanding required inputs and controls.

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's function: 'Aplica un plan calculado con pbi_plan_change o con un dry_run.' It specifies a concrete verb ('aplica') and resource ('plan'), and references the sibling tool pbi_plan_change to distinguish plan creation from application, effectively differentiating it from other apply-type siblings.

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 implies the usage context: the plan must have been generated by pbi_plan_change or a dry run. It also describes a prerequisite condition (the project state must match the planned state) and the failure behavior. However, it does not explicitly contrast with alternatives like pbi_apply_audit_fixes or state when not to use this tool.

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