Skip to main content
Glama

Google Ads: update keyword status or bid

update_keyword
DestructiveIdempotent

Updates a keyword's status or bid.

It never deletes: status REMOVED is refused. PAUSED stops the keyword
serving and ENABLED switches it back on, at once: it serves again and can spend.

Args:
    customer_id: The Google Ads customer ID (numbers only, no hyphens).
    ad_group_id: The ID of the ad group containing the keyword.
    criterion_id: The criterion ID of the keyword.
    status: New status. One of: ENABLED, PAUSED. Optional.
    cpc_bid_micros: New CPC bid in micros of the account's currency. Optional.

Returns:
    Dictionary with the updated resource name and confirmation message.

Tools revision: d80f65c0.

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": {
      "customer_id": "<customer_id>",
      "ad_group_id": "<ad_group_id>",
      "criterion_id": "<criterion_id>"
    },
    "name": "update_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo
ad_group_idYes
customer_idYes
criterion_idYes
cpc_bid_microsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds real operational context: the refusal of REMOVED, the meaning of PAUSED vs ENABLED, and the explicit warning that re-enabling means the keyword 'serves again and can spend.' That spend consequence is precisely the kind of impact an agent needs before calling a destructive-flagged mutation.

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?

Front-loaded with the one-line purpose, then the deletion constraint and the serve/spend consequence, then Args and Returns. Every sentence carries information; the only filler is the trailing 'Tools revision' line, which is trivial.

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?

Covers the mutation semantics, optionality, and units an agent needs for a 5-parameter mutation. Since an output schema exists, the Returns line is mildly redundant, and the description does not say whether both status and bid can be changed in one call or what happens if neither is supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 full burden and does: it identifies customer_id as numbers-only without hyphens, explains ad_group_id/criterion_id roles, enumerates the legal status values (ENABLED, PAUSED) where the schema has a bare string, and defines cpc_bid_micros as micros of the account's currency. This is material meaning the schema does not supply.

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?

Names a specific verb ('Updates') and resource ('a keyword') plus the two mutable fields (status, bid). It is clearly distinguishable from add_keywords and from the sibling set_*_status / update_ad_status tools, which operate on different resources.

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 hard exclusion: 'It never deletes: status REMOVED is refused,' so an agent knows not to attempt deletion here. It lacks an explicit pointer to which sibling to use for removal or for creating keywords, so it falls short of the when-to-use/when-not/alternative triad.

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