Skip to main content
Glama

update_campaign_bidding

DestructiveIdempotent

Change the campaign's bidding strategy or its target. The same policy as get_campaign_setup_options applies: strategies enabled for the channel, conversion requirements, and amounts in the account currency. currency_code is required with a CPC or CPA amount and must equal the account currency. Sending a strategy without a target removes the current target. Manual CPC is rejected because it needs ad group bids. A strategy change restarts Google's learning. Confirm the current and new bidding with the operator first. Use one idempotency key per intended change.

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": {
      "account": "<account>",
      "campaign_id": "<campaign_id>",
      "request": "<request>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "update_campaign_bidding"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
requestYes
campaign_idYes
currency_codeNo
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already disclose destructiveHint=true and idempotentHint=true, but the description adds concrete consequences the agent could not infer: sending a strategy without a target removes the current target, and a strategy change restarts Google's learning. It also flags Manual CPC as rejected because it needs ad group bids, which is essential behavioral detail for predicting failure.

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?

The action is front-loaded and nearly every clause carries a distinct constraint or warning, with no filler. It is dense prose rather than structured, so a few constraints blur together, but nothing is redundant.

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 destructive mutation with no output schema this covers the essentials: validation policy, currency rules, target-removal semantics, learning restart, operator confirmation, and idempotency. It does not say what the call returns or whether readback is needed to verify the change, which is the main remaining gap.

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 description coverage is 0%, so the description carries the burden. It explains currency_code (required with a CPC or CPA amount, must equal account currency) and idempotency_key semantics (one key per intended change), plus request-level behavior, but leaves account and campaign_id unmentioned. It compensates well for the coverage gap without fully documenting all five parameters.

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 and resource plus the exact scope: "Change the campaign's bidding strategy or its target." That distinguishes it cleanly from update_campaign_budget and set_campaign_status, which an agent can rule out 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 real preconditions and routing hints: apply the same policy as get_campaign_setup_options, confirm current and new bidding with the operator, and use one idempotency key per intended change. It never explicitly names the alternative for budget changes, so usage guidance is strong on context but lacks an explicit exclusion.

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