Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Remove Snippets and Other Assets

gads_remove_asset_links
DestructiveIdempotent

Stop structured snippets, call, price, promotion, app, lead form or image assets serving on the whole account, on one campaign or on one ad group. This removes the link, not the asset: it stays in the account and can be linked again, and other campaigns using the same asset are left alone. An asset id that is not linked at the level given is reported as skipped rather than failing the call. Find asset ids with gads_query, e.g. SELECT asset.id, asset.structured_snippet_asset.header FROM campaign_asset WHERE campaign_asset.field_type = 'STRUCTURED_SNIPPET'. For sitelinks use gads_remove_sitelinks, for callouts gads_remove_callouts.

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": {
      "field_type": "<field_type>",
      "asset_ids": "<asset_ids>"
    },
    "name": "gads_remove_asset_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoWhich link to remove: account, campaign or ad_group. Defaults to campaign.
asset_idsYesAsset ids to unlink.
field_typeYesKind of asset to unlink, e.g. STRUCTURED_SNIPPET.
ad_group_idNoAd group to unlink from, when level is ad_group.
campaign_idNoCampaign to unlink from, when level is campaign.
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
levelYesLevel the links were removed from.
ownerIdNoCampaign or ad group unlinked from. Null at account level.
removedYesOne row per link that was removed.
skippedYesAsset ids that were not linked at this level, so nothing was done.
fieldTypeYesKind of asset unlinked.
countAfterYesHow many assets of this kind the level holds now.
removedCountYesNumber of links removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds genuinely new behavioral facts: only the link is removed, the asset persists and can be re-linked, and other campaigns sharing the asset are untouched. It also discloses partial-failure semantics — an unlinked asset id is reported as skipped rather than aborting the call — which is exactly the kind of information annotations cannot convey.

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?

Four sentences, front-loaded with the action and scope, followed by the critical 'removes the link, not the asset' caveat, then edge-case behavior, then discovery and alternatives. There is no filler and each sentence carries distinct information.

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 destructive, open-world mutation tool with six parameters and an output schema, the description covers scope, side effects, partial-failure behavior, id discovery, and sibling alternatives. Return-value details are correctly left to the output schema, so nothing an agent needs to invoke this 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 explaining what the level values actually mean in terms of scope and by describing how asset_ids are sourced and how unrecognized/unlinked ids behave. It does not, however, expand on field_type-to-level compatibility or the customer_id multi-account rule beyond what the schema states.

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?

The description opens with a precise verb ('Stop ... serving') and enumerates the exact asset kinds affected, then names the three levels of scope. It also distinguishes itself from gads_remove_sitelinks and gads_remove_callouts by name, so an agent can separate it from siblings without opening a 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?

It routes the agent explicitly: use gads_remove_sitelinks for sitelinks, gads_remove_callouts for callouts, and gads_query (with a concrete sample query) to obtain asset ids. The level scoping (whole account / one campaign / one ad group) is stated in plain language, giving clear when-to-use conditions.

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