Skip to main content
Glama

remove_negative_keyword

Removes a negative keyword from a Google Ads campaign or ad group by criterion ID with confirmation, helping block unwanted search traffic.

Instructions

Remove a negative keyword. Provide campaign_id for campaign-level or ad_group_id for ad-group-level. Requires confirm=true.

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": {
      "criterion_id": "<criterion_id>"
    },
    "name": "remove_negative_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute removal.
ad_group_idNoAd group ID (required for ad-group-level negatives)
campaign_idNoCampaign ID (required for campaign-level negatives)
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
criterion_idYesNegative keyword criterion ID to remove

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.2/5.0
Behavior2/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 for a destructive operation, and it discloses only the confirmation gate. That gate is already spelled out in the schema's confirm parameter, and the description says nothing about irreversibility, required permissions, or what happens to the criterion after removal.

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?

Three short sentences, front-loaded with the action followed by the conditional parameter routing and the precondition. Nothing is padded, though the third sentence duplicates schema content rather than adding new information.

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?

An output schema exists, so return values need not be explained, and the required criterion_id and confirm gate are covered. For a destructive, annotation-free tool with five parameters, the absence of any statement about reversibility, permissions, or post-removal effects leaves a real gap.

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 description coverage is 100%, so the baseline is 3. The description's notes about campaign-level versus ad-group-level use of the ids largely restate the schema's own parameter descriptions and add no format or edge-case detail (e.g., what happens if both ids are supplied).

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 ("Remove a negative keyword"), which is clear on its own and distinguishable from additive siblings like add_negative_keywords. However it never distinguishes itself from the look-alike sibling remove_keyword (positive keyword removal), leaving that disambiguation to inference.

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

Usage Guidelines3/5

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

The description gives routing guidance (campaign_id vs ad_group_id) and a hard precondition (confirm=true), which is more than nothing. But it does not say when to choose this tool over remove_keyword, or what to do if the level is unknown, so tool-selection guidance is only implied.

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