Skip to main content
Glama
google-ad-manager-mcp

google-ad-manager-mcp

by Jakob-Peters

gam_geo_lookup

Read-onlyIdempotent

Resolve location names to Google Ad Manager geo criteria IDs for geo-targeted forecasts and line items, with instant Nordic results and live API fallback for other countries.

Instructions

MODE: read-only. UI: geo targeting picker. Look up Google Ad Manager geo criteria IDs for geo targeting (forecasts, line items): countries, regions, municipalities, cities, districts, postal codes. Denmark, Sweden and Norway answer instantly from a local pack; ANY other country falls back to the live API automatically (pass a country_code outside DK/SE/NO, or live=true, to force it). IMPORTANT: names are ENGLISH ('Copenhagen', not 'København'). OUTPUT: per search term, matches with {id, name, type, countryCode, targetable} and the source that answered it — pass ids into forecast geo targeting. WHEN TO USE: before any geo-targeted forecast; to resolve a location name to its GAM criteria id.

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": {
      "search": "<search>"
    },
    "name": "gam_geo_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
liveNoForce the live API lookup even when the offline Nordic pack has matches.
typeNoRestrict to one location type. Matching ignores case and spacing, so both vocabularies work: the offline pack uses 'City'/'Postal Code', the live API uses 'CITY'/'STATE'/'AIRPORT'.
limitNoMax results per search term (default 10).
searchYesOne or more location names to search (English, case-insensitive, substring match).
country_codeNoRestrict to one country (CLDR region code, e.g. DK, SE, NO, DE). Outside DK/SE/NO this forces a live lookup.
network_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the description does not need to re-argue safety. It adds genuinely useful behavior beyond them: the DK/SE/NO offline pack versus automatic live-API fallback, the English-only name requirement, and a stated per-term output shape with a source field. The only gap is that it never explains what network_code does or when it matters.

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?

The MODE / OUTPUT / WHEN TO USE labels front-load the important facts and the text is dense with specifics rather than filler. Minor waste remains in restating 'MODE: read-only' (already in annotations) and the somewhat ambiguous 'UI: geo targeting picker' fragment.

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?

With six parameters and no output schema, the description does the right work: it describes the return fields {id, name, type, countryCode, targetable} plus which source answered, and explains the offline/live routing that an agent must anticipate. The single unexplained parameter (network_code) is the only completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 83% and already documents search, live, type, limit, and country_code in detail, so the baseline is 3. The description still adds value by tying country_code values outside DK/SE/NO to a forced live lookup and by warning that names must be English (e.g. 'Copenhagen', not 'København'), which changes how the search array should be filled. It adds nothing for the undocumented network_code.

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?

States a specific verb and resource: look up Google Ad Manager geo criteria IDs for geo targeting, enumerating supported location types (countries, regions, cities, postal codes). It is clearly distinguishable from the sibling forecast/line-item tools because it explicitly frames itself as the ID-resolution step that feeds them.

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?

The WHEN TO USE clause names both trigger conditions (before any geo-targeted forecast; resolving a location name to a GAM criteria id). It also explains when the live path is used instead of the local pack: any country outside DK/SE/NO, or an explicit live=true.

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