Skip to main content
Glama

ADS MCP

Remove Campaign Sitelinks

remove_sitelinks
Destructive

Remove sitelinks from a campaign by their campaign_asset_resource_name (get from list_sitelinks). Use this before re-adding updated sitelinks. ALWAYS get explicit user approval first.

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": {
      "user_intent": "<user_intent>",
      "campaign_asset_resource_names": "<campaign_asset_resource_names>"
    },
    "name": "remove_sitelinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
customer_idNo
user_intentYes
campaign_asset_resource_namesYesResource names from list_sitelinks e.g. customers/123/campaignAssets/456~789~SITELINK.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description still adds real value by mandating explicit user approval before execution. It does not describe partial-failure behavior or whether removal is reversible, but for a destructive mutation with annotations present this is a solid addition.

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?

Three short sentences: action, workflow rationale, and safety precondition, ordered so the most important constraint is front-loaded. No filler or repetition.

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

Completeness3/5

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

Covers the destructive nature, approval requirement, and ID provenance, which is the core of calling it correctly. However, for a destructive batch mutation with no output schema and two undocumented parameters, it should say what is returned, how partial failures are handled, and what user_intent should contain.

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

Parameters2/5

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

Schema coverage is only 33%, so the description must compensate, yet it only explains campaign_asset_resource_names, the one parameter the schema already documents. The required user_intent parameter and customer_id are left entirely undefined in both places, so an agent has to guess at required inputs.

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 (remove) plus the exact resource (sitelinks from a campaign) and the identifier used to target them (campaign_asset_resource_name). It also points at the sibling that produces those identifiers (list_sitelinks), so an agent can distinguish this from the add/list sitelink tools 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 Guidelines4/5

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

Gives clear context: use it before re-adding updated sitelinks, and always obtain explicit user approval first. It names list_sitelinks as the prerequisite source of IDs. The only gap is an explicit when-not condition (e.g., prefer add_sitelinks if removing nothing), but the implied workflow is unambiguous.

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.