Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

ads_add_negative_keywords

Add negative keywords to a Google Ads campaign to stop ads showing on unwanted searches; use validateOnly for a dry run before applying changes.

Instructions

Add negative keywords to a campaign so ads stop showing for those searches (e.g. from ads_search_terms waste). Use validateOnly=true to dry-run. Confirm the list with the user first.

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

Input Schema

NameRequiredDescriptionDefault
keywordsYes
matchTypeNoPHRASE
campaignIdYes
customerIdYesGoogle Ads customer ID (with or without dashes)
validateOnlyNo
loginCustomerIdNoManager (MCC) ID if accessing through a manager; defaults to ads.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the description's job is to add mutation context — and it does: it explains the observable effect of the write, offers a dry-run path via validateOnly, and imposes a human-confirmation gate. It does not say whether adds are idempotent, what happens on duplicate keywords, or how partial failures across up to 200 keywords are reported.

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?

Three short sentences, front-loaded with purpose, then the dry-run option, then the safety instruction. Nothing is redundant and no sentence could be dropped without losing information.

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?

For a 6-parameter mutation tool with no output schema, the description covers purpose, effect, dry-run safety and human confirmation, which is the bulk of what an agent needs. The remaining gaps are matchType semantics and failure behavior for a batch of up to 200 keywords.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, so the description needs to carry more weight than it does. It adds real meaning for validateOnly (dry-run instead of a write) and implies keywords is a confirmed list, but matchType — an enum with a non-obvious PHRASE default — is never explained, nor is campaignId scope versus customerId.

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?

The description gives a specific verb+resource ('Add negative keywords to a campaign') plus the business effect ('ads stop showing for those searches'), and names ads_search_terms as the typical source of the list. That is enough for an agent to distinguish it from the read/analysis siblings, though it never states how it relates to other write tools such as ads_set_status.

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?

'Use validateOnly=true to dry-run' and 'Confirm the list with the user first' give concrete preconditions and a workflow step rather than leaving usage to inference. What is missing is exclusion guidance — e.g. when not to use this (negative keyword lists vs campaign-level, or when the search term is not actually wasteful).

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

Deploy Server

Other Tools