Skip to main content
Glama

remove_extension

Removes a customer, campaign, or ad group extension link while keeping the underlying asset. Use it to unlink extensions from Google Ads accounts, campaigns, or ad groups.

Instructions

Remove an account, campaign, or ad group extension link. The underlying asset is retained.

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_resource_name": "<asset_resource_name>"
    },
    "name": "remove_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute.
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
asset_resource_nameYesFull resource name of the asset link to remove (customerAssets, campaignAssets, or adGroupAssets)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely valuable trait: the underlying asset is retained, so the operation is a link detachment rather than asset deletion. It says nothing about required permissions, reversibility, whether the confirm flag gates execution, or error behavior on a bad resource name.

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?

Two short sentences, front-loaded with the action and scope, followed immediately by the one non-obvious consequence. No filler, no restatement of the tool name, nothing that could be cut without losing meaning.

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

Completeness4/5

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

For a three-parameter mutation with a required confirm gate, 100% schema coverage, and an output schema that covers returns, the description supplies what the structured fields cannot: the scope of entity levels and the asset-retention outcome. Gaps around permissions and irreversibility keep it short of complete.

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%, so the schema already explains confirm, customer_id, and asset_resource_name in detail, including the three valid resource-name families. The description adds no format, syntax, or constraint detail beyond that, which is the expected baseline when the schema does the heavy lifting.

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 names a specific verb (Remove) and a specific resource (an extension link) and scopes it to the three entity levels the schema supports (account, campaign, ad group). It does not name or differentiate against any sibling tool, so an agent must infer the boundary from verb names alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no pointer to an alternative such as the create_* extension tools or other remove_* tools. The only usage-relevant hint is implicit — that this detaches a link rather than deleting the asset — which is behavioral, not selection guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools