Skip to main content
Glama

add_ibcs_variance_measure

Add IBCS variance measures to a Power BI model, calculating absolute or relative differences between actual and a comparison base (PY, PL, FC), with optional IBCS number formatting.

Instructions

Author IBCS variance measure(s) for an actual measure vs a comparison base (PY|PL|FC). kind=abs (AC - base, leading-sign format) or rel (DIVIDE(AC - base, ABS(base)) %). The base is expected as a measure ' ' unless comparisonMeasure is given. applyIbcsFormat applies an IBCS number format (+/- leading sign).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoabs | relabs
tableYesthe measure's table
sessionIdYes
comparisonNoPY | PL | FCPY
actualMeasureYesthe actual measure, e.g. Sales
applyIbcsFormatNoapply an IBCS number format
comparisonMeasureNoexplicit comparison-base measure name (optional; else '<actual> <comparison>')
Behavior4/5

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

With no annotations, the description carries the transparency burden and delivers by explaining the exact formulas for abs and rel, the expected base measure naming convention, and the effect of applyIbcsFormat. It does not cover error handling, overwrite behavior, or permissions, but the core computation and key assumptions are disclosed.

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 exceptionally concise, with three sentences that each add essential information: purpose, formulas, and naming/format expectations. No filler or redundant content; it is well-structured and front-loaded with the primary action.

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 7-parameter tool without an output schema, the description covers the main decision points and algorithmic behavior. It does not mention return values or edge cases (e.g., missing base measure), but given the complexity and the provided schema, the description is sufficiently complete for correct invocation in most scenarios.

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?

The schema already describes most parameters, but the description adds meaningful semantics beyond the schema: it defines the kind formulas, explains the '<actual> <comparison>' naming convention for the base measure, and clarifies that applyIbcsFormat adds a leading sign. This goes well beyond the baseline for 86% schema coverage.

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: authoring IBCS variance measures against a comparison base (PY, PL, FC). It distinguishes itself from generic measure-creation tools by specifying the variance types (abs/rel) and the IBCS format, making it unambiguous and specific.

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 provides clear context for when to use this tool: when creating IBCS variance measures with year-over-year or plan comparisons. It does not explicitly name alternatives or state when not to use it, but the specialized purpose and formula details imply the appropriate scenario strongly enough.

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/cyphonica/powerbi-pbix-mcp'

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