Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Keyword

gads_update_keyword
DestructiveIdempotent

Pause or resume Google Ads keywords and/or change their max CPC bids. For more than one keyword pass keywords (up to 100 rows, each with ad_group_id, criterion_id and status and/or cpc_bid) instead of calling this once per keyword: they go to Google in one request and the result lists each row as updated or refused. Pausing a keyword stops it serving without deleting its history — prefer it to gads_remove_keywords when the keyword may come back. A bid only affects delivery when the campaign uses Manual CPC; the result says so when it does not. Find criterion ids with gads_list_keywords.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gads_update_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoPAUSED to stop it serving, ENABLED to resume.
cpc_bidNoNew max CPC bid in the account's currency units. Not allowed on negative keywords.
keywordsNoBatch form, up to 100 edits: use instead of ad_group_id / criterion_id / status / cpc_bid when changing more than one keyword.
ad_group_idNoAd group the keyword sits in.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.
criterion_idNoCriterion id of the keyword, from gads_list_keywords.

Output Schema

NameRequiredDescriptionDefault
textNoKeyword text.
cpcBidNoCPC bid, null when it was not changed. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.
failedNoBatch form: rows refused.
statusNoStatus now in effect.
resultsNoBatch form: one entry per input row.
updatedNoBatch form: rows Google accepted.
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
adGroupIdNoAd group it sits in.
campaignIdNoCampaign that ad group belongs to.
criterionIdNoCriterion that was updated.
biddingStrategyTypeNoBidding strategy of the campaign; manual CPC bids only take effect under MANUAL_CPC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds genuinely non-obvious behavior: pausing preserves history, the batch goes to Google in one request, the result marks each row as updated or refused (partial-failure semantics), and a bid silently does nothing unless the campaign uses Manual CPC — with the result reporting that case.

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, front-loaded with the primary action, then batch semantics, then the pause-vs-delete preference, then the bid caveat, then the id lookup. No sentence is redundant and none restates the tool name.

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 6-parameter mutation tool with an output schema, the description covers the safety-relevant scope (pause not delete), partial failure reporting, and the delivery caveat on bids. Since an output schema exists, it does not need to spell out return shape, and it doesn't waste words doing so.

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. The description still adds meaning beyond the schema: the batch cap of 100, the fact that each row must pair ad_group_id and criterion_id with status and/or cpc_bid, and the Manual CPC precondition on cpc_bid. That is real added value, but the per-parameter enum meanings remain schema territory.

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 plus resource: 'Pause or resume Google Ads keywords and/or change their max CPC bids.' It also names the sibling it should not be confused with (gads_remove_keywords) and the lookup helper (gads_list_keywords), so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

Explicit guidance for both branches: use the `keywords` array instead of one call per keyword when editing more than one (up to 100), and prefer this over gads_remove_keywords when the keyword may come back. It also routes id discovery to gads_list_keywords. When-to-use and when-not-to-use are both present.

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