Skip to main content
Glama

add_location_target

Adds a location target or exclusion to a Google Ads campaign. Include a geo target ID and set negative to true to exclude a location instead of targeting it.

Instructions

Add a location target (or exclusion) to a campaign.

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>",
      "geo_target_id": "<geo_target_id>"
    },
    "name": "add_location_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute.
negativeNoSet to true to EXCLUDE this location instead of targeting it
campaign_idYesCampaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
bid_modifierNoBid modifier for this location (1.0 = no change, 1.2 = +20%)
geo_target_idYesGeo target constant ID (e.g. 2840=US, 2826=UK, 2124=Canada, 1014044=New York City). Find IDs at developers.google.com/google-ads/api/data/geotargets

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure and largely fails it. It does not state that this is a mutating operation, that execution is gated on confirm=true, that negative=false targets while true excludes, or what happens on duplicate targets.

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?

A single short sentence with the verb and resource front-loaded and no filler. It is efficient, though the extreme brevity leaves the confirm gate and mutation semantics unstated rather than deliberately compressed.

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?

The output schema exists, so return values need no explanation, and the input schema is fully documented. However, for a write operation with a confirmation requirement and a target/exclusion switch, the description gives no operational context about the side effects or preconditions an agent should know before calling.

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 every parameter including confirm, negative, bid_modifier, and geo_target_id is already documented in the schema; the baseline of 3 applies. The phrase 'or exclusion' lightly reinforces the negative flag but adds no new semantics.

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 states a specific verb and resource ('Add a location target') and clarifies the polarity ('or exclusion'), which lets an agent distinguish this from remove_location_target and list_location_targets. It stops short of naming a sibling or scoping the campaign-level effect.

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 mention that confirm must be true to execute, and no routing to alternatives such as remove_location_target when a target already exists. The agent must infer usage entirely from the schema.

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