Skip to main content
Glama

ads_negative_keyword_delete

DestructiveIdempotent

Remove a negative keyword, so ads can show for that search again. 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": {
      "negative_keyword_id": "<negative_keyword_id>",
      "ad_account_id": "<ad_account_id>"
    },
    "name": "ads_negative_keyword_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
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.
negative_keyword_idYesId from ads_negative_keywords_list: campaign~<campaign id>~<criterion id> or ad_set~<ad group id>~<criterion id>

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by disclosing the semantic effect of the removal and a concrete failure mode (HTTP 501 on non-Google networks), which is not encoded in any structured field and is the kind of context an agent needs to avoid a pointless call.

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 sentences, zero filler: the effect is front-loaded and the platform constraint follows. Nothing repeated from annotations or the schema, and nothing an agent would need to re-read.

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 4-parameter destructive tool with a fully described schema, rich annotations and no output schema, the definition covers the essentials: what is removed, what changes as a result, and where the call is unsupported. The only gap is the absence of explicit routing to the list/create siblings, a minor omission given the schema already points at ads_negative_keywords_list.

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% and every parameter carries an inline explanation, including the composite negative_keyword_id format and the conditional optionality of profile_id. The description adds no parameter-level meaning at all, so the baseline of 3 for a fully documented schema is appropriate.

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') and immediately explains the user-visible consequence ('so ads can show for that search again'), which distinguishes it from a plain keyword delete in intent. It does not explicitly contrast itself with ads_keyword_delete or ads_negative_keywords_create, so sibling differentiation is left to inference from the name.

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 supplies a hard usage boundary — 'Google Ads only; other networks answer 501' — which tells the agent when the call will fail. However, it gives no guidance on prerequisites (e.g., that the id must come from ads_negative_keywords_list) or on when to choose this over the keyword-level delete sibling; that information lives only in the schema.

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.