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

google-ad-manager-mcp

by Jakob-Peters

gam_find_advertiser

Read-onlyIdempotent

Find advertiser companies by brand or company name, including near matches for typos, and return their orders with delivery totals in one call.

Instructions

MODE: read-only. UI: Admin → Companies + Delivery → Orders. START HERE for any question about a BRAND or ADVERTISER by name ('how is Acme doing', 'what are we running for Harald Hardware'). Resolves the name to every matching advertiser company — including near-matches, because advertiser names in GAM contain typos — and returns each one's ORDERS with delivery totals in a single call. OUTPUT: advertisers[] with id, name, type, creditStatus, matchQuality (exact/contains/near), their orders (id, name, status, programmatic, dates, delivered) and a per-advertiser rollup. WHY NOT gam_find_line_items(search=…): that matches LINE ITEM names only, so it silently misses orders whose line items are named generically ('Mobile / desktop') — it under-scopes without saying so. NEXT: gam_find_line_items(order_id=…) for line items, gam_diagnose_order for health.

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

Input Schema

NameRequiredDescriptionDefault
nameYesAdvertiser or brand name, as a human would say it.
network_codeNo
include_ordersNoAttach each advertiser's orders (default true).
max_advertisersNoAdvertisers to expand with orders (default 8).
include_archived_ordersNoDefault false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent, so the safety profile is covered; the description goes beyond that by disclosing typo-tolerant near-matching (matchQuality), that orders and a per-advertiser rollup come back in one call, and that the alternative tool silently under-scopes. The disclosure of silent-under-scoping behavior in a sibling is exactly the kind of context annotations cannot express.

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?

Front-loaded with the routing rule and scoping rationale; every sentence carries content (UI path, output shape, alternative, next steps). It is dense with bolded keywords and terse fragments, which slightly hurts readability but not sizing.

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?

For a no-output-schema tool, the description substitutes for one by enumerating advertisers[] fields and the rollup, and it chains to follow-up tools. The only gap is that silent truncation at max_advertisers/default 8 is left to the schema rather than called out as a caveat.

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 80%, so include_orders, max_advertisers defaults and name semantics are already documented in the schema. The description adds only indirect hints (orders are attached by default) and says nothing about the max_advertisers=25 truncation ceiling or include_archived_orders behavior, so 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?

States a specific verb and resource — resolve an advertiser/brand name to matching companies and return their orders — and explicitly positions itself with "START HERE for any question about a BRAND or ADVERTISER by name." It also names the sibling it must not be confused with (gam_find_line_items with search=…) so an agent can route without opening either schema.

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?

Gives concrete trigger phrases ("how is Acme doing", "what are we running for Harald Hardware"), an explicit negative rule for gam_find_line_items(search=…), and a NEXT block pointing to gam_find_line_items(order_id=…) and gam_diagnose_order. Both when-to-use and when-not-to-use are stated, not inferred.

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