Skip to main content
Glama

Change a Microsoft Advertising ad group bid

msads_set_ad_group_bid
DestructiveIdempotent

Set an ad group's default max CPC bid, used by every keyword in it that has no bid of its own. A change that more than doubles the current bid is refused unless allowLargeChange is true. Returns the previous bid so it can be undone. Use dryRun first when unsure. Keyword and ad group bids steer delivery under Manual or Enhanced CPC bidding; under an automated bid strategy Microsoft may ignore them.

Input Schema

NameRequiredDescriptionDefault
cpcBidYesNew default max CPC bid, in the account's currency (see msads_list_accounts for the currency).
dryRunNoPreview only. Microsoft has no validate-only mode, so Caybl reads the current value and shows exactly what would change (before and after) without sending anything. Free, and cannot affect spend.
accountIdNoMicrosoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account.
adGroupIdYesAd group id, from msads_get_ad_groups.
campaignIdYesCampaign id, from msads_get_campaigns.
allowLargeChangeNoA change that more than doubles the current value is refused unless this is true. Set it only when the increase is deliberate and the user has confirmed it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructive/idempotent annotations: it discloses the more-than-doubling refusal guard, that the previous bid is returned so the change can be undone, that dryRun is free and cannot affect spend, and that automated bid strategies may make the setting moot. These are exactly the traits an agent needs before mutating live spend.

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?

Four sentences, no filler, and front-loaded: what it sets, then the guardrail, then the return value, then the bidding-strategy caveat. Every sentence carries distinct operational information.

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?

There is no output schema, and the description compensates by stating the return value (previous bid, for undo). Combined with the dryRun behavior, the large-change guard, and the bid-strategy caveat, an agent has everything needed to call this correctly on a destructive spend-mutating tool.

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, and the description earns a bump by explaining what cpcBid actually means functionally (the inherited default for keywords without their own bid) rather than just repeating the schema. The allowLargeChange and dryRun semantics it mentions are already fully spelled out in the schema, so it adds less there.

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, resource and scope: it sets the ad group's *default* max CPC, and immediately explains that this applies to keywords with no bid of their own, which cleanly separates it from msads_set_keyword_bid. An agent can pick between the two without opening either schema.

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 concrete operating guidance: use dryRun when unsure, and set allowLargeChange only when the increase is deliberate and user-confirmed. It also warns that automated bid strategies may ignore the bid. It does not name msads_set_keyword_bid or msads_set_campaign_budget as alternatives, so sibling routing is implied rather than explicit.

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