Skip to main content
Glama
Google Ads MCP

Google Ads MCP

by gabogabucho

Preview Add Negative Keywords

preview_add_negative_keywords

Preview adding negative keywords to a campaign or ad group before applying changes.

Instructions

Preview adding negative keywords to a campaign or ad group.

ALWAYS call this before apply_change. Either campaign_id or ad_group_id is required.

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>",
      "keywords": "<keywords>"
    },
    "name": "preview_add_negative_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYesList of keyword texts to add as negatives
match_typeNo"BROAD", "PHRASE", or "EXACT" (default: BROAD)BROAD
ad_group_idNoAd Group ID (for ad group-level negatives)
campaign_idNoCampaign ID (for campaign-level negatives)
customer_idYesGoogle Ads account ID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Preview' implies a non-mutating operation and the workflow instruction adds useful context, but it never explicitly states that no changes are applied, nor does it mention permissions or side effects.

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 with zero waste. The purpose is front-loaded, followed by the mandatory workflow and the key parameter constraint.

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?

The tool has moderate complexity and an output schema, so the description need not explain return values. It covers purpose, usage timing, and the campaign/ad group constraint. It could be slightly more complete by explicitly stating that previewing does not apply changes, but the definition is sufficient for correct invocation.

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 adds a meaningful cross-parameter constraint not enforced by the schema: either campaign_id or ad_group_id is required. It does not explain match_type or keyword text semantics beyond the schema, but the added constraint is valuable.

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 description states a specific verb and resource: preview adding negative keywords to a campaign or ad group. It clearly distinguishes this preview operation from the mutation sibling apply_change, so an agent can identify what the tool does without opening the 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?

It gives explicit workflow guidance: 'ALWAYS call this before apply_change' and notes that either campaign_id or ad_group_id is required. It does not state when not to use the tool or name other preview alternatives, but the primary usage condition is clear.

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