Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

get_geo_target_constants

Search Google Ads geographic targeting constants by name to find countries, regions, or cities for campaign targeting and location setup.

Instructions

Search for geographic targeting constants (countries, regions, cities) by name.

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": {
      "customerId": "<customerId>",
      "query": "<query>"
    },
    "name": "get_geo_target_constants"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesSearch query (e.g., 'Brazil', 'New York')
customerIdYesThe customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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, yet it discloses almost nothing beyond the name search: it does not say the operation is read-only, that results are paginated via 'limit' (default 20), how matching works (prefix/substring/exact), or what a result contains. For a lookup tool with zero annotation coverage this is a substantial gap.

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 front-loaded sentence with no filler; the parenthetical enumeration of entity types earns its space. It is efficient, though its brevity is part of why behavioral detail is missing.

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

Completeness2/5

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

With no annotations and no output schema, the description should explain what the search returns (constant resource names/IDs usable in targeting) and how limit/pagination behaves. It covers only the lookup intent, leaving an agent unable to predict the response or the required customerId's role.

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 coverage is 67%: 'query' and 'customerId' are already documented in the schema, while 'limit' is undocumented in both places. The description's 'by name' adds modest meaning about what the query string should contain, but it does not explain the required customerId or the effect of limit.

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?

Names a specific verb ('Search') and resource ('geographic targeting constants') and enumerates the entity types covered (countries, regions, cities), which separates it from siblings like get_geographic_performance that report metrics rather than look up constants. It stops short of saying what the constants are used for, but the resource is unambiguous.

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 explicit when-to-use guidance, no mention of prerequisites, and no reference to related tools such as add_campaign_location_targeting that would consume these constants. The use case (resolving a place name to a constant for targeting) is only inferable from the wording 'Search ... by name'.

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