Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

add_keywords

Add keywords to a Google Ads campaign's first active Ad Group, defaulting to phrase match; preview changes with dry run before execution.

Instructions

Add new keywords to a campaign (adds to first active Ad Group). Match types default to PHRASE.

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": {
      "google_customer_id": "<google_customer_id>",
      "campaign_id": "<campaign_id>",
      "keywords": "<keywords>",
      "dry_run": "<dry_run>"
    },
    "name": "add_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runYesPreview proposed changes. Set to false to execute.
keywordsYesList of keywords to add.
campaign_idYesThe Campaign ID or unique Campaign Name.
google_customer_idYesThe 10-digit Google Ads customer ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two genuinely useful behaviors: keywords land in the first active Ad Group rather than a caller-chosen one, and match types default to PHRASE. It is silent on mutation semantics beyond that — whether dry_run=true is the safe default, what a preview returns, and what happens on duplicate keywords or a campaign with no active ad group.

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?

Two short sentences, front-loaded with the action and immediately followed by the two facts an agent would otherwise get wrong. No filler, no restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating write tool with zero annotation coverage and no output schema, the definition covers placement and defaults but not the safety profile, failure modes, or what the preview returns. Adequate to make the call correctly in the happy path, but thin for a mutation.

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, but the description adds meaning the schema omits: the match_type default of PHRASE is not declared anywhere in the schema's enum or defaults. It also clarifies that targeting is at campaign granularity, which frames how campaign_id is used.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (add keywords to a campaign) plus the non-obvious placement rule (first active Ad Group). It does not name or differentiate itself from the close sibling add_negative_keywords, leaving the agent to infer the positive-vs-negative distinction from the names alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance; the agent must infer that add_negative_keywords is the counterpart for exclusions. No prerequisites are stated, such as the campaign needing an active ad group for the call to succeed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.