Skip to main content
Glama

ads_keyword_delete

DestructiveIdempotent

Remove a keyword from a Google Ads ad group. Returns { deleted, 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": {
      "keyword_id": "<keyword_id>",
      "ad_account_id": "<ad_account_id>"
    },
    "name": "ads_keyword_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyword_idYesKeyword id from ads_keywords_list: <ad group id>~<criterion id>
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive, idempotent, non-read-only behavior. The description adds meaningful context beyond them by specifying the return shape and the 501 response for non-Google Ads networks.

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?

The description is two short sentences with the core action first, followed by the return value and network restriction. Every sentence adds useful information with no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple destructive delete operation, the description covers the action, the return shape, and the Google Ads-only constraint. With annotations covering safety semantics and schema documentation at full coverage, nothing critical is missing for correct invocation.

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%, so the input schema already documents all four parameters. The description does not add meanings, formats, or constraints for parameters like keyword_id or profile_id beyond what the schema provides.

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 states a specific verb and resource: remove a keyword from a Google Ads ad group. It clearly scopes the operation to Google Ads, though it does not explicitly distinguish this from the sibling ads_negative_keyword_delete tool.

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?

It gives a useful network constraint: Google Ads only, with other networks returning 501. It does not explain when to use this instead of related alternatives such as negative keyword deletion, so the 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.