Skip to main content
Glama

ADS MCP

Set Search Campaign Bidding Strategy

set_campaign_bidding_strategy

Changes the bidding strategy of an existing SEARCH campaign. Returns the previous and new strategy. strategy: MANUAL_CPC (you set bids; no max_cpc needed), MAXIMIZE_CLICKS (optional max_cpc cap), MAXIMIZE_CONVERSIONS (optional target_cpa), MAXIMIZE_CONVERSION_VALUE (optional target_roas), TARGET_CPA (needs target_cpa), TARGET_ROAS (needs target_roas), TARGET_IMPRESSION_SHARE (needs impression_share_percent and max_cpc; optional impression_share_location). For brand campaigns Manual CPC or Target Impression Share (absolute top, max_cpc about 2x the 30-day average CPC) are the usual choices. Smart bidding strategies (MAXIMIZE_CONVERSIONS/VALUE, TARGET_CPA/ROAS) need working conversion tracking and ignore bid adjustments; Target Impression Share also ignores bid adjustments. Amounts are in the account currency (e.g. 0.45). The change is live immediately and Smart Bidding may need days to re-learn. ALWAYS get explicit user approval first.

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": {
      "user_intent": "<user_intent>",
      "campaign_id": "<campaign_id>",
      "strategy": "<strategy>"
    },
    "name": "set_campaign_bidding_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_cpcNoMax CPC bid limit in account currency. Required for TARGET_IMPRESSION_SHARE, optional cap for MAXIMIZE_CLICKS.
strategyYesMANUAL_CPC, MAXIMIZE_CLICKS, MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA, TARGET_ROAS or TARGET_IMPRESSION_SHARE.
target_cpaNoTarget cost per conversion in account currency. Required for TARGET_CPA, optional for MAXIMIZE_CONVERSIONS.
campaign_idYesSearch campaign ID from list_campaigns.
customer_idNo
target_roasNoTarget ROAS as a ratio, e.g. '4' = 400%. Required for TARGET_ROAS, optional for MAXIMIZE_CONVERSION_VALUE.
user_intentYes
impression_share_percentNoTarget impression share 1-100. Required for TARGET_IMPRESSION_SHARE.
impression_share_locationNoABSOLUTE_TOP_OF_PAGE (default), TOP_OF_PAGE or ANYWHERE_ON_PAGE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond by disclosing that the change is live immediately, that Smart Bidding may take days to re-learn, that bid adjustments are ignored under Smart Bidding and Target Impression Share, that amounts are in account currency, and that explicit user approval is required first. These are exactly the operational risks an agent needs before invoking a mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with purpose and return value, then a strategy-by-strategy parameter guide, then practical guidance, so an agent can stop reading early. The weakest part is the verbatim re-listing of the strategy values and their required companions, which the schema already states, adding some redundancy.

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 9-parameter mutation with no output schema, the description covers what is changed, what is returned, the currency convention, the requestor-approval requirement, and the delayed-effects caveat. Nothing essential to calling it correctly is missing; the only gap is the meaning of the administrative customer_id.

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 78%, so most parameter meaning is already in the schema, including the per-strategy required/optional notes. The description still adds cross-parameter conditional logic (which combination of target_cpa/target_roas/max_cpc/impression_share_* each strategy demands) and a concrete currency amount example. The two undocumented parameters, customer_id and user_intent, get no explanation in either place.

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 first sentence names a specific verb, resource, and scope: changing the bidding strategy of an existing SEARCH campaign, plus it states the return value (previous and new strategy). The campaign type restriction and the return contract let an agent distinguish it from creation tools like create_campaign without opening any 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?

The description gives concrete selection guidance: brand campaigns usually use MANUAL_CPC or TARGET_IMPRESSION_SHARE with a max_cpc around 2x the 30-day average CPC, and it warns that Smart Bidding needs working conversion tracking. It also mandates explicit user approval before the call. It does not name a sibling alternative or state a when-not-to-use condition (e.g. non-Search campaigns), which keeps it from a 5.

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.