Skip to main content
Glama

Set a Microsoft Advertising campaign budget

msads_set_budget
Destructive

Sets the daily budget of a campaign, in the ad account currency. Takes effect immediately on spend.

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": {
      "adAccountId": "<adAccountId>",
      "campaignId": "<campaignId>",
      "dailyBudget": "<dailyBudget>"
    },
    "name": "msads_set_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoFezola accountId of the connected Microsoft account (type microsoft_ads in list_accounts). Optional: the adAccountId is looked up in every connected Microsoft account.
campaignIdYesCampaign Id, as returned by msads_campaigns.
adAccountIdYesMicrosoft Advertising ad account id (Id returned by msads_list_accounts).
dailyBudgetYesNew daily budget, in the account currency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the mutation profile is carried by structured data. The description does add genuinely useful context beyond that: the budget is denominated in the ad account currency, and the change hits live spend immediately. It stops short of saying whether the previous budget is recoverable, whether in-flight spend for the day is recalculated, or what comes back on success.

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?

A single tight sentence with the resource, the value semantics and the effect front-loaded. There is no filler, hedging or redundant restatement of the title.

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

Completeness3/5

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

For a destructive mutation with no output schema, the definition is adequate: parameters are fully covered and the immediacy of the effect is flagged. However, an agent gets no signal about how to confirm the new budget took effect, and nothing about permission requirements on the ad account. Given browser-facing complexity it is minimum viable rather than complete.

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%, so all four parameters are already documented, including the currency note and the accountId lookup fallback. The description restates the currency semantics for dailyBudget without adding format, bounds or unit detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb and resource combination: sets the daily budget of a campaign. It also scopes the value to the ad account currency, which is a meaningful qualifier. It does not explicitly differentiate itself from the sibling google_ads_set_budget, but the platform-specific naming and the 'daily budget' focus make the purpose unambiguous.

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?

'Takes effect immediately on spend' is a behavioral note, not usage guidance. The description never says when to reach for this tool versus google_ads_set_budget or msads_update_campaign, nor does it mention prerequisites such as the campaign needing to exist or an account needing to be connected. An agent must infer the routing decision from the tool name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources