Skip to main content
Glama

ads_negative_keywords_create

Destructive

Add negative keywords to a Google Ads campaign (campaign_id) or ad group (ad_set_id), so ads stop showing for those searches. Returns { data: [{ id }] }. Google Ads only; other networks answer 501.

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": {
      "ad_account_id": "<ad_account_id>",
      "keywords": "<keywords>"
    },
    "name": "ads_negative_keywords_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYesGoogle negative keywords: { text, match_type }. A bid is ignored.
ad_set_idNoNetwork id of the ad group
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
campaign_idNoNetwork id of the campaign. Send this or ad_set_id.
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructive=true, openWorldHint=true and idempotentHint=false, so the safety profile is known; the description still adds value by disclosing the return shape ({ data: [{ id }] }) and the 501 behavior on non-Google networks. It stops short of saying whether duplicates accumulate extra negative keywords or what limits apply, which matters for a non-idempotent write.

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 the action and scope, then the return value, then the network restriction. No filler and nothing repeated from the schema verbatim.

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 supplies the return shape and the cross-network failure mode, which is most of what an agent needs. It omits any note on duplicate handling or count limits for a non-idempotent destructive write, leaving a modest 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 coverage is 100% and the schema already documents the 'Send this or ad_set_id' relationship, the bid being ignored, and the default broad match, so the description adds little parameter detail beyond restating the campaign/ad-group choice. Baseline 3 applies when the schema does the heavy lifting.

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 uses a specific verb and resource ('Add negative keywords') and names the two targeting levels (campaign_id or ad_set_id) plus the intent ('so ads stop showing for those searches'). It does not explicitly contrast with the closely-named sibling ads_negative_keyword_delete or ads_negative_keywords_list, so an agent must infer that this is the write counterpart.

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 states the operative condition for the two targeting parameters ('campaign_id or ad_set_id') and a clear when-not ('Google Ads only; other networks answer 501'). It gives no guidance on when to add a negative keyword versus creating a regular keyword via ads_keywords_create, which is the most likely confusion point given sibling names.

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.