Skip to main content
Glama

Change a Microsoft Advertising keyword bid

msads_set_keyword_bid
DestructiveIdempotent

Set one keyword's own max CPC bid. This changes what the keyword can spend per click. 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
bidYesNew 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.
keywordIdYesKeyword id, from msads_get_keywords.
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.5/5.0
Behavior5/5

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

Adds real behavioral context beyond the annotations: the >2x guard rail and how to override it, the fact that the previous bid is returned so the change can be undone, the dryRun preview semantics, and the caveat that automated strategies may nullify the bid. These are things an agent could not infer from destructiveHint/idempotentHint alone.

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?

Five short sentences, front-loaded with the core action and effect, then guard rails, then return/undo behavior, then usage advice and the bid-strategy caveat. Nothing is padded or repeated.

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?

For a six-parameter mutation with no output schema, the description covers the action, the guard rail and its override, reversal via returned previous bid, and a safe preview path. An agent has everything needed to call it correctly and safely.

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%, so every parameter including allowLargeChange, dryRun, and currency handling is already fully documented in the schema. The description restates the doubling rule and dryRun but adds no syntax, formatting, or constraint detail beyond what the schema provides, so the baseline 3 applies.

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 and resource and narrows scope precisely: "Set one keyword's own max CPC bid." The phrase "one keyword's own" distinguishes it from the sibling tools that set ad group (msads_set_ad_group_bid) or campaign-level (msads_set_campaign_budget) values, and "This changes what the keyword can spend per click" nails the effect.

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 a clear operational instruction ("Use dryRun first when unsure") and a meaningful exclusion condition (bids steer delivery under Manual/Enhanced CPC, but ";under an automated bid strategy Microsoft may ignore them"). It does not explicitly name the sibling alternative for ad-group or campaign-level bid changes, so the routing guidance is strong but not exhaustive.

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