Skip to main content
Glama
HorizunGroup

Horizun PBI MCP

by HorizunGroup

pbi_validate_measures

Validate DAX measures without modifying your Power BI model. Test measure logic before creation with support for interdependent measures and detailed error reporting.

Instructions

Valida DAX de medidas SIN modificar el modelo (dry-run con DEFINE MEASURE).

Ideal para probar medidas ANTES de crearlas con pbi_create_measure. measures: lista de {"name","dax","table"(opcional)}. Las medidas pueden referenciarse entre si. Devuelve por cada una: valid, value (muestra) y error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
measuresYes

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 full responsibility for disclosing safety behavior. It clearly states the operation is a dry-run and does not modify the model, and it describes inter-measure references and return fields. However, it omits any potential limitations or prerequisites, so it falls short of a perfect score.

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 concise and well-structured, starting with the core function, then usage guidance, then parameter details. It conveys essential information in three short lines with no redundant content.

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 tool has a complex nested parameter and no annotations, but the description covers its purpose, safety, input structure, and output format. Since an output schema exists, detailed return value documentation is not required; however, it does not mention prerequisites like a selected model, leaving a minor gap.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is minimal (only an array of objects with additionalProperties), while the description fully specifies the expected structure: each object has 'name', 'dax', and optional 'table', and measures can reference each other. This completely compensates for the schema's lack of detail.

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 validates DAX expressions of measures without modifying the model (dry-run with DEFINE MEASURE). It explicitly positions itself relative to pbi_create_measure, distinguishing its non-destructive validation purpose.

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?

It explicitly recommends using this tool before creating measures with pbi_create_measure, providing a clear alternative and when-to-use context. This gives direct, actionable guidance for an agent deciding between tools.

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