Skip to main content
Glama
HorizunGroup

Horizun PBI MCP

Official
by HorizunGroup

pbi_replace_visual_field

Replace a field reference in a Power BI visual with a new one, validating the target against the model and failing if the visual lacks the old reference.

Instructions

Sustituye una referencia de campo dentro de un visual.

old_ref/new_ref: 'Tabla[Campo]' o '[Medida]'. Trabaja sobre las proyecciones existentes; no crea roles nuevos. Falla si el visual no referencia old_ref, en vez de no hacer nada en silencio.

El destino se valida contra el modelo antes de escribir: si no existe, es ambiguo o es de otro tipo (medida donde va una columna), se rechaza con field_not_found en lugar de inventarlo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
new_refYes
old_refYes
visual_idYes
request_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Beyond the annotations (all false, giving no safety profile), the description discloses important behavioral traits: it fails loudly instead of silently doing nothing, and it validates the destination against the model before writing, rejecting with field_not_found if invalid. This adds meaningful context about error handling and validation, though it omits details about reversibility or permissions.

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 compact and well-structured. Each sentence serves a purpose: the first states the core action, the second defines the parameter formats and scope, and the third clarifies validation and error behavior. There is no fluff or redundancy.

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?

The description covers the essential aspects: purpose, parameter format, constraints, and error behavior. It does not explain prerequisites like which model must be open, but the output schema exists (which likely covers return values) and the tool's scope is well-defined. Given the large sibling set, the description adequately distinguishes the tool but could benefit from an explicit usage scenario.

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 0% schema description coverage, the description compensates by explaining the format of old_ref and new_ref ('Tabla[Campo]' or '[Medida]'). The remaining parameters (page, visual_id, request_id) are likely self-explanatory from their names, but the description does not add any semantics for them, so it only partially compensates for the coverage gap.

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: 'Sustituye una referencia de campo dentro de un visual' (replaces a field reference within a visual). It also explains the reference format and explicitly distinguishes itself from other visual operations by stating it works on existing projections and does not create new roles.

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?

The description provides context by specifying constraints (only works on existing projections, does not create new roles) and error behavior (fails if old_ref is not referenced), but it does not explicitly mention when to use this tool versus alternatives. For example, it doesn't state 'use this for swapping fields, while pbi_set_visual_filter is for filtering'—such guidance is only implied.

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