Skip to main content
Glama

pbi_refresh_dataset

Trigger an Enhanced refresh for a Power BI dataset, allowing selection of refresh type, specific tables, commit mode, and optional polling for completion.

Instructions

Trigger an Enhanced refresh for a Power BI dataset.

Uses the Enhanced Refresh API (refreshType=ViaEnhancedApi), which enables GET refresh execution details with structured messages[] and objects[] (partition-level failures, error codes, SourceObject pointing to Table/Column/etc).

Args: workspace_id: The workspace (group) ID. dataset_id: The dataset ID. refresh_type: Full / ClearValues / Calculate / DataOnly / Automatic / Defragment (default Full). commit_mode: Transactional / PartialBatch (default Transactional). retry_count: Number of automatic retries (default 0). timeout: HH:MM:SS string, max 24:00:00 (default 01:00:00). tables: Optional list of table names to refresh, e.g. ["fact_sales", "dim_date"]. When omitted the entire dataset is refreshed. poll: If True, poll refresh details until terminal (default False). poll_interval: Seconds between polls (default 30). poll_timeout: Max seconds to wait when polling (default 1800).

Returns: JSON with {status, requestId, location, ...}. If poll=True also includes terminal details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspace_idYes
dataset_idYes
refresh_typeNoFull
commit_modeNoTransactional
retry_countNo
timeoutNo01:00:00
tablesNo
pollNo
poll_intervalNo
poll_timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description thoroughly discloses refresh types, commit modes, retries, timeout, table filtering, and polling behavior. However, it does not mention prerequisites (e.g., workspace/dataset existence) or rate limits.

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?

Well-structured with Args and Returns sections, front-loaded purpose. Some detail (e.g., API type explanation) is useful but could be slightly more concise without losing clarity.

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

Completeness5/5

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

Covers all parameters, return format, and polling behavior comprehensively. Given the tool's complexity and absence of output schema in input, the description provides complete guidance for correct invocation.

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

Parameters5/5

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

Despite 0% schema description coverage, the description provides detailed explanations for all 10 parameters, including enums for refresh_type and commit_mode, format for timeout, and usage notes for tables. This fully compensates for missing schema descriptions.

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?

Clearly states it triggers an Enhanced refresh for a Power BI dataset using the Enhanced Refresh API. Distinguishes itself from siblings like pbi_refresh_manage by specifying the API type and structured return details.

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 explains the enhanced refresh capability and when polling is beneficial, but does not explicitly compare to alternatives or state when not to use this tool versus other refresh methods.

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/FreelexHo/power-bi-mcp'

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