Skip to main content
Glama
Power BI MCP Server

Power BI MCP Server

by mbmccormick

refresh_dataset

Triggers a refresh of a Power BI dataset (semantic model) so AI assistants can update data before running DAX queries or monitoring refresh status.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "datasetId": "<datasetId>"
    },
    "name": "refresh_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetIdYesThe dataset (semantic model) ID.
workspaceIdNoThe workspace (group) ID. Omit for 'My Workspace'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the entire behavioral burden, and it discloses nothing beyond the bare action. It omits that a refresh is an asynchronous, long-running mutation that returns an accepted request rather than completed work, says nothing about required permissions, and ignores Power BI's daily refresh-count limits. For a mutation tool on a shared semantic model, this is a serious gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the parenthetical clarification is genuinely useful. Brevity here borders on under-specification rather than excess, so it is efficient but does not fully earn a 5.

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?

This is a mutation tool with no annotations and no output schema, so the description should explain async semantics, what triggering actually does, and what the caller receives. None of that is present, leaving an agent unable to predict the call's effect or follow-up actions.

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 100%, with both datasetId and workspaceId documented in the schema, including the 'Omit for My Workspace' default. The description adds no additional meaning about parameter behavior, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Trigger a refresh of a Power BI dataset (semantic model)', with a useful clarification that dataset equals semantic model. An agent knows exactly what the tool does, but nothing distinguishes it from siblings like get_refresh_history or get_dataset beyond the verb 'trigger'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance at all — no mention of when a refresh is appropriate versus reading state via get_dataset or checking prior runs via get_refresh_history, and no prerequisites such as ownership or capacity limits. Usage is only inferable from the name and verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.