Skip to main content
Glama

set_refresh_schedule

Set up automatic refresh for a Power BI dataset: enable or disable scheduling, define days, local times, and time zone. Requires AAD token with Power BI scopes.

Instructions

Set a published dataset's scheduled-refresh plan (PATCH .../refreshSchedule): enable/disable, the days, the local times and the time zone. Needs an AAD access token with the Power BI scopes (accessToken param or DAXOPS_PBI_TOKEN); never echoed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNocomma-separated days, e.g. "Monday,Wednesday,Friday"
timesNocomma-separated 24h times, e.g. "07:00,16:30"
enabledYesenable (true) or disable (false) the schedule
datasetIdYesdataset id
accessTokenNoAAD access token with Power BI scopes; omit to use DAXOPS_PBI_TOKEN
workspaceIdYesworkspace (group) id
localTimeZoneIdNoWindows time-zone id, e.g. "New Zealand Standard Time"
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It discloses authentication needs and that the token is never echoed, which is valuable safety context. It does not detail overwrite behavior or side effects, but the verb 'set' implies replacement of the existing plan.

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-loaded with the core action, and includes essential auth caveat without extraneous text. Every word earns its place.

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?

Given the tool's moderate complexity, the schema fully documents parameters, and the description covers the main action and auth requirement. It does not mention return values or error scenarios, but with no output schema, these are not essential for invocation.

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%, with each parameter described. The description groups the schedule components (enable/disable, days, times, timezone) but does not add syntactic details beyond what the schema already provides. This is adequate but not additive.

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 uses specific verb 'Set' plus the resource 'scheduled-refresh plan' and explicitly names the components (enable/disable, days, times, timezone). It also includes the HTTP PATCH endpoint, which unambiguously distinguishes this from refresh_dataset and get_refresh_status.

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 provides clear context: it is for published datasets and requires an AAD token, which are important usage prerequisites. However, it does not explicitly name alternative tools or state when not to use it, so it stops short of full exclusion guidance.

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/cyphonica/powerbi-pbix-mcp'

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