Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Remove Ads

gads_remove_ad
DestructiveIdempotent

Permanently remove ads from a Google Ads account. Removal cannot be undone: Google keeps no way back through the API, and the ad takes its performance history with it out of the account's default views. Pause with gads_set_status when the ad may come back — a paused ad costs nothing and keeps its history. Two safeguards apply to every entry: the ad must already be PAUSED, and confirm_headline must match one of that ad's own headlines. Ids that are already gone are reported as skipped instead of failing the call, but a wrong headline or a still-serving ad refuses the whole call and removes nothing. Find ids and headlines with gads_list_ads. Up to 20 ads per call.

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": {
      "ads": "<ads>"
    },
    "name": "gads_remove_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
adsYesAds to remove permanently, at most 20 per call.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.

Output Schema

NameRequiredDescriptionDefault
removedYesThe removed ads, one entry each.
removedAdIdsYesAds that were removed.
removedCountYesNumber of ads actually removed.
skippedAdIdsYesIds that were not in the account, e.g. already removed by an earlier call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds genuinely new behavior: permanent history loss, the two preconditions (ad must already be PAUSED, confirm_headline must match one of that ad's own headlines), and precise failure semantics — already-missing ids are skipped, while a bad headline or still-serving ad aborts the entire call with nothing removed. That partial-vs-atomic distinction is exactly what an agent needs before invoking a destructive tool.

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?

Front-loaded with the destructive fact, then the alternative, then the safeguards, then failure modes, then discovery and limits. Every sentence carries operational content; even the longer clause about performance history justifies itself by explaining why the alternative tool exists.

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?

A destructive, batch-shaped mutation with an output schema and full annotation coverage is fully served here: irreversibility, preconditions, atomicity of failure, discovery path, and size limit are all present. Nothing an agent needs to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by adding a precondition on ad_id that appears nowhere in the schema (the ad must already be PAUSED) and by explaining the whole-call refusal consequence of a mismatched confirm_headline. The 20-ad cap is repeated from the schema rather than added, so it is not a full step up.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Permanently remove ads from a Google Ads account' — and immediately contrasts with the sibling that does the non-destructive version ('Pause with gads_set_status'). An agent can distinguish this from gads_remove_campaign, gads_update_ad, or gads_set_status without opening any schema.

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

Usage Guidelines5/5

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

Explicit routing: use this only when removal is intended, use gads_set_status when the ad may come back, and use gads_list_ads to obtain ids and headlines. It also states the batch ceiling (20 per call), which bounds how the agent should chunk work.

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.

Resources