Skip to main content
Glama
Power BI MCP Server

Power BI MCP Server

by mbmccormick

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TENANTNoOptional tenant ID, passed as `--tenant <tenant-id>`, for single-tenant or B2B scenarios.
LOG_LEVELNoSet to `debug` for verbose logging.
AUTHENTICATIONNoAuthentication mode, passed as `--authentication <mode>`. One of: `interactive` (default, opens a browser for OAuth login), `azcli` (uses your `az login` session), or `env` (uses `DefaultAzureCredential`, e.g. service principal env vars or managed identity).interactive

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_workspacesA

List all Power BI workspaces the authenticated user has access to.

list_datasetsA

List Power BI datasets (semantic models) in a workspace, or in 'My Workspace' if no workspace is specified.

get_datasetB

Get detailed information about a specific Power BI dataset (semantic model).

execute_dax_queryA

Execute a DAX query against a Power BI dataset (semantic model) and return the results.

Use this tool to query data from Power BI semantic models using DAX (Data Analysis Expressions). The query must be a valid EVALUATE statement.

Examples:

  • EVALUATE SUMMARIZECOLUMNS('Date'[Year], "Total Sales", SUM('Sales'[Amount]))

  • EVALUATE TOPN(10, 'Products', 'Products'[Revenue], DESC)

  • EVALUATE ROW("Total", CALCULATE(SUM('Sales'[Amount])))

get_tablesA

List tables in a Power BI push dataset via the REST API. NOTE: This only works for push datasets. For regular semantic models, use the discover_model tool instead.

discover_modelA

Discover the schema of a Power BI semantic model using INFO.VIEW DAX functions. Returns tables, columns, measures, and relationships to help you understand the data model before writing DAX queries. Always call this tool first before writing DAX queries against a model.

refresh_datasetC

Trigger a refresh of a Power BI dataset (semantic model).

get_refresh_historyB

Get the refresh history for a Power BI dataset (semantic model).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

Most tools are clearly distinct by resource and action: workspace/dataset listing, dataset detail, DAX query, refresh, and refresh history. The only notable overlap is get_tables versus discover_model, but the description explicitly separates push datasets from semantic models.

Naming Consistency5/5

All tools use a consistent snake_case verb-noun pattern: get_, list_, execute_, refresh_, and discover_. The variation between get_tables and list_datasets is semantically reasonable rather than inconsistent.

Tool Count5/5

Eight tools is well-scoped for a Power BI MCP server focused on discovery, querying, and refresh. Each tool covers a meaningful operation without obvious redundancy.

Completeness4/5

The surface covers the core semantic-model workflow: list workspaces/datasets, inspect schemas, run DAX, refresh, and inspect refresh history. Minor gaps remain around reports/dashboards, workspace administration, and refresh lifecycle controls such as cancellation or schedules.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues