Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Remove Sitelinks

gads_remove_sitelinks
DestructiveIdempotent

Stop sitelinks serving on the whole account, on one campaign or on one ad group. This removes the link, not the sitelink: the asset stays in the account and can be linked again, and unlinking it from one campaign leaves the other campaigns using it alone. An asset id that is not linked at the level given is reported as skipped rather than failing the call. Get asset ids and their levels from gads_list_sitelinks. To rewrite a sitelink instead of removing it, use gads_update_sitelink — that keeps its performance history.

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

Input Schema

NameRequiredDescriptionDefault
levelNoWhich link to remove: account, campaign or ad_group. Defaults to campaign.
asset_idsYesSitelink asset ids to unlink, from gads_list_sitelinks.
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.
countAfterYesHow many sitelinks the level holds now.
removedCountYesNumber of links removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true), the description discloses the non-obvious semantics that matter most for a destructive tool: only the link is removed, the underlying asset survives and can be relinked, and unlinking at one level leaves other campaigns unaffected. It also explains failure behavior — an unlinked asset id is reported as skipped rather than failing the call — which is exactly the kind of context annotations cannot carry.

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 short sentences, front-loaded with the action and scope, then the key semantic caveat, then the id source, then the alternative. No sentence is redundant and none repeats the annotations or schema verbatim.

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 5-parameter destructive tool with an output schema, everything an agent needs to call it correctly is present: scope levels, where to get ids, that partial unlinking is safe, and how to redirect to an update instead. Return-value details are correctly omitted since an output schema exists.

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%, including the level enum and its campaign default, so the schema already does the heavy lifting and a baseline of 3 applies. The description adds only the provenance of asset_ids (and their levels) from gads_list_sitelinks; it adds nothing about the customer_id default-not-used-for-changes rule, which lives only in the schema.

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 first sentence gives a specific verb ('Stop ... serving') plus resource ('sitelinks') plus the three scopes it applies to (account, campaign, ad group). It is immediately distinguishable from gads_create_sitelinks or gads_update_sitelink, and an agent can tell what changes without opening the 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?

The description names both the prerequisite tool (gads_list_sitelinks for asset ids and levels) and the explicit alternative (gads_update_sitelink when the goal is a rewrite rather than a removal). It states a selection condition for the alternative rather than leaving the agent to infer it.

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