Skip to main content
Glama

Change Google Ads (create, update, pause, remove)

google_ads_mutate
Destructive

Creates, updates, pauses or removes Google Ads resources in one account with the API's GoogleAdsService.Mutate: campaigns, campaign budgets, ad groups, ads, keywords (ad group criteria), negative keywords, assets... operations is the API's mutateOperations array, each item one of campaignOperation, campaignBudgetOperation, adGroupOperation, adGroupAdOperation, adGroupCriterionOperation, campaignCriterionOperation..., with create, update (+ updateMask) or remove (a resource name). Resource names: customers/{customerId}/campaigns/{campaignId}; temporary ids (-1, -2) link new resources in one call. Money is in micros of the account currency (10 EUR = 10000000). Create new campaigns PAUSED unless the user asked to start them: enabled campaigns and higher budgets spend real money. validateOnly: true makes Google check everything without changing anything. Returns the resource names created or changed; Google's explanation in detail on error.

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": {
      "customerId": "<customerId>",
      "operations": "<operations>"
    },
    "name": "google_ads_mutate"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerIdYesGoogle Ads customer id, as returned by google_ads_list_accounts.
operationsYesmutateOperations, as in the Google Ads API (REST JSON, camelCase).
validateOnlyNotrue: Google validates the operations and changes nothing.
partialFailureNotrue: valid operations are applied even if others fail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 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 destructive=true and openWorldHint=true, but the description adds critical context beyond them: money is in micros (10 EUR = 10000000), enabled campaigns and higher budgets spend real money, new campaigns default to PAUSED, temporary negative ids link new resources, and errors surface Google's explanation in `detail`. This is exactly the spend-and-safety information an agent needs before a destructive call.

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?

Front-loaded with purpose and the API surface, then progressively narrows to operations structure, ids, money units, and safety defaults. It is dense and slightly run-on with ellipsis lists, but nearly every clause carries operational value.

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 high-blast-radius, free-form-payload mutation tool with no output schema, the description covers payload structure, id linking, currency units, spend risk, dry-run behavior, and error reporting. Nothing material an agent needs before invoking it is missing.

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 coverage is 100% but the free-form `operations` array is opaque in the schema; the description explains its shape (campaignOperation, campaignBudgetOperation, adGroupCriterionOperation, etc.), the create/update(+updateMask)/remove variants, resource name syntax, and temporary id linking. It also clarifies micros units and validateOnly semantics beyond the schema text.

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 specific verbs (creates, updates, pauses, removes) plus the resource domain and names the underlying API surface (GoogleAdsService.Mutate), then enumerates concrete resource types (campaigns, budgets, ad groups, ads, keywords, assets). An agent can tell this is the generic mutate endpoint rather than a targeted helper.

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 real operational context: use validateOnly to dry-run, partialFailure behavior, and the default of creating campaigns PAUSED. It does not, however, explicitly route the agent away from narrower siblings such as google_ads_set_budget, google_ads_set_status, or google_ads_search, so the when-not side is left implicit.

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