Skip to main content
Glama

remove_location_target

Remove a location target from a Google Ads campaign by campaign ID and location criterion ID; requires confirm=true to execute.

Instructions

Remove a location target from a campaign. Requires confirm=true.

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": {
      "campaign_id": "<campaign_id>",
      "criterion_id": "<criterion_id>"
    },
    "name": "remove_location_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute removal.
campaign_idYesCampaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
criterion_idYesLocation criterion ID to remove

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the confirm=true safety gate, which is real behavioral information, but says nothing about whether removal is permanent, what permissions or account state it requires, or what side effects it has on the campaign.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded and the precondition immediately after; nothing is padded. It is minimal but not wasteful, though it errs toward under-specification rather than over-writing.

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?

For a destructive mutation with no annotations, the definition is thin: it omits permanence, permissions, and error conditions. The presence of an output schema means return values need not be explained, which keeps it borderline adequate.

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 all four parameters including confirm and customer_id are already documented in the schema. The description's mention of confirm=true restates the schema rather than adding meaning such as valid criterion_id sourcing or account fallback behavior.

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?

States a specific verb ('Remove') and resource ('location target') scoped to a campaign, which naturally distinguishes it from add_location_target and list_location_targets. It does not explicitly name an alternative, but no ambiguity remains about what the tool does.

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?

The only guidance is the execution precondition 'Requires confirm=true'; there is no statement of when to use this versus add_location_target or list_location_targets, and no note on when removal is inappropriate (e.g., pending changes or inherited targets).

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