Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Find Locations

gads_find_locations
Read-onlyIdempotent

Look up Google Ads locations by name and get the geo target constant id of each, with its canonical name and target type (Country, Region, City). Use this before changing location targeting with gads_update_campaign_targeting, or before creating a campaign with gads_create_campaign, whenever you have a place name rather than an id. Pass country_code when a name is ambiguous.

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

Input Schema

NameRequiredDescriptionDefault
queryYesPlace names to look up, e.g. ["Kyiv", "Lviv Oblast"]. At most 10.
localeNoLanguage of the returned names, e.g. en or uk. Default en.
customer_idNoGoogle Ads account to read: customer id or account name (from gads_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.
country_codeNoTwo-letter ISO country code to disambiguate the names, e.g. UA. Omit to search worldwide.

Output Schema

NameRequiredDescriptionDefault
suggestionsYesOne row per location Google matched, best match first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description contributes beyond that by spelling out exactly what is returned (geo target id, canonical name, target type), which is the key behavioral fact for a resolver tool. It stops short of mentioning result limits or worldwide-search breadth beyond the schema's own wording.

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 with zero filler: capability and return shape first, then usage routing, then the one parameter caveat. Each sentence carries distinct information and the ordering front-loads the most important fact.

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

Completeness5/5

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

With an output schema present, the description needn't explain return structure, yet it still summarizes the key fields. Combined with full schema coverage and annotations covering safety and openness, nothing an agent needs to select or call this tool is missing.

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 is already documented in the schema, including the 10-item cap, locale default, and country_code disambiguation. The description's one added hint ('Pass country_code when a name is ambiguous') duplicates the schema's existing 'Omit to search worldwide' guidance, so the baseline 3 applies.

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?

The first sentence names a specific verb (look up) and resource (Google Ads locations) and states the return payload: geo target constant id, canonical name, and target type with enumerated examples (Country, Region, City). That distinguishes it cleanly from siblings like gads_get_geo_insights, which returns performance data rather than id resolution.

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

Usage Guidelines5/5

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

It names two concrete downstream tools (gads_update_campaign_targeting, gads_create_campaign) and the precise condition that selects this one: 'whenever you have a place name rather than an id,' which also implies the inverse case. The closing note on passing country_code for ambiguous names is a further situational rule.

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.

Resources