Skip to main content
Glama

Update a Microsoft Advertising campaign

msads_update_campaign
Destructive

Changes a campaign's name, daily budget and/or status (Active or Paused). Only the given fields change. A campaign on a shared budget keeps it: its budget is changed in Microsoft Advertising.

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>"
    },
    "name": "msads_update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
statusNoActive or Paused.
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).
dailyBudgetNoNew 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

A3.9/5.0
Behavior4/5

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

Annotations flag destructiveHint=true and openWorldHint=true, which alone would leave an agent worried about overwriting a campaign. The description usefully narrows that: 'Only the given fields change' clarifies it is a partial patch rather than a full replace, and the shared-budget sentence explains a case where the dailyBudget field will not take effect. It still omits permission/auth requirements and any confirmation of what the mutation returns.

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?

Three short sentences, zero filler, with the scope of change stated first and the exception (shared budget) placed last where it reads as a caveat. Nothing is repeated from the schema or title.

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?

For a six-parameter mutation with no output schema, the description covers the editable fields, the partial-update contract, and the shared-budget exception, which is most of what an agent needs to call it safely. It could go further on whether the campaign must exist/be enabled and what the response confirms, but the core is present.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema cannot express: that a campaign on a shared budget will not accept a local budget change and must be edited in Microsoft Advertising. That is a real semantic caveat for dailyBudget that the schema's 'New daily budget, in the account currency' does not capture.

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 opens with a specific verb and resource ('Changes a campaign's...') and enumerates exactly which fields can be modified (name, daily budget, status), which is more than the title alone conveys. It does not name the close siblings msads_set_budget or msads_set_status, so an agent cannot tell from the description alone whether to use this tool or those for a single-field change.

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

Usage Guidelines3/5

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

'Only the given fields change' establishes partial-update semantics and the shared-budget sentence gives a genuine usage caveat, which implies when this tool is and isn't the right call. However, no sibling is named as an alternative and there is no explicit statement about when to prefer this over the dedicated budget/status tools.

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