Skip to main content
Glama

Refresh a semantic model (Power BI)

powerbi_refresh_dataset

Triggers an on-demand refresh of a Power BI semantic model to reload data from its sources when source data changes; requires write access.

Instructions

Start a refresh of a semantic model now, so it loads its data again from its sources. Changes nothing else. Power BI allows 8 on-demand refreshes per model per day on Pro (48 on Premium or Fabric capacity). Follow it with powerbi_refresh_history. Requires write access on this instance.

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": "powerbi_refresh_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetIdYesSemantic model (dataset) id, a GUID.
workspaceIdNoWorkspace id (a GUID). Leave out for the person's own "My workspace".

Output Schema

NameRequiredDescriptionDefault
acceptedYes
datasetIdYes
requestIdYesPower BI's id for this refresh; follow it with powerbi_refresh_history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, destructive=false, non-idempotent), and the description adds genuinely new operational facts: daily quota limits per license tier (8 on Pro, 48 on Premium/Fabric) and the requirement for write access on the instance. It does not say whether the call blocks until the refresh completes or returns immediately, which matters for a trigger that is non-idempotent and quota-limited.

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?

Four short sentences, front-loaded with the action and effect before quotas and prerequisites. The clause 'so it loads its data again from its sources' is mildly redundant with 'refresh' but earns its place by clarifying the effect; nothing else is padding.

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?

Return values need not be explained because an output schema exists, and the description covers permissions, quota, and the natural next call. The one substantive gap for a non-idempotent trigger is the synchronous/asynchronous behavior of the call, which is not stated.

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 coverage is 100%, so datasetId and workspaceId (including the 'My workspace' default) are already fully documented in the schema. The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

States a specific verb and resource ('Start a refresh of a semantic model') plus the effect ('loads its data again from its sources') and the scope boundary ('Changes nothing else'). The 'now' plus the pointer to powerbi_refresh_history separates it from the scheduled-refresh and history siblings without ambiguity.

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?

Gives clear context for when to reach for it (immediate on-demand refresh) and names the follow-up tool powerbi_refresh_history, which is real routing guidance. It stops short of explicitly ruling out alternatives such as powerbi_refresh_schedule, so an agent must infer that this is the manual-trigger path rather than the scheduling path.

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