Skip to main content
Glama
nguyenanhducdeveloper86

mcp-powerBI-to-report

Execute DAX query and build HTML executive report

execute_dax_report_query

Execute a DAX query to answer business questions and generate an executive HTML dashboard from Power BI data.

Instructions

Execute a DAX query against a Power BI semantic model and return both a concise text answer and a self-contained HTML dashboard/report for executive review. Prefer this tool for boss/CEO business questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesDAX query text, for example EVALUATE ROW("Revenue", SUM(Visits[TreatmentCost])).
titleNoOptional report title. Defaults to the question.
maxRowsNo
questionYesThe business question from the executive user.
workspaceNameNoPower BI workspace name. Defaults to POWERBI_DEFAULT_WORKSPACE.
timeoutSecondsNo
semanticModelNameNoSemantic model name. Defaults to POWERBI_DEFAULT_SEMANTIC_MODEL.
Behavior2/5

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

With no annotations provided, the description must carry full behavioral disclosure. It mentions the output format but does not reveal side effects, authorization requirements, rate limits, error handling, or whether the operation is read-only. This is a significant gap for a tool that executes queries.

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 two sentences, front-loading the core action and output. Every sentence adds value with no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema or annotations exist. The description does not explain return values, error states, or prerequisites like Power BI access. For a tool with 7 parameters, more context is needed for an agent to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 71% (5 of 7 parameters have descriptions in the schema). The description adds no additional meaning beyond what the schema provides, such as usage tips or format details. Baseline 3 is appropriate given high 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 specifies the verb 'Execute', the resource 'DAX query against a Power BI semantic model', and the dual output 'concise text answer and self-contained HTML dashboard/report'. It also explicitly targets 'executive review' and 'boss/CEO business questions', distinguishing it from sibling tools like execute_dax_query.

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 includes 'Prefer this tool for boss/CEO business questions', providing clear context for when to use it. However, it does not explicitly exclude alternatives or state when not to use it, leaving some ambiguity relative to sibling tools like execute_dax_dashboard_query.

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/nguyenanhducdeveloper86/mcp-powerBI-to-report'

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