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

google-ad-manager-mcp

by Jakob-Peters

gam_labels

Read-onlyIdempotent

Resolve Google Ad Manager label IDs to names and inspect active or inactive labels, including competitive-exclusion and frequency-cap types, for ad unit, company, and line item audits.

Instructions

MODE: read-only. The network's labels: id, name, description, types (AD_EXCLUSION/COMPETITIVE_EXCLUSION/AD_UNIT_FREQUENCY_CAP/CANONICAL_CATEGORY/CREATIVE_WRAPPER), active flag. OUTPUT: label rows — ids resolve appliedLabels on ad units (gam_get_ad_unit), companies, line items. WHEN TO USE: resolving label ids→names, auditing competitive-exclusion or frequency-cap labels.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gam_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 100.
searchNoSubstring match on label name.
page_tokenNo
network_codeNo
include_inactiveNoDefault false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

'MODE: read-only' merely restates readOnlyHint=true, so it earns no credit against the annotations already supplied. What does add value is the disclosure that ids resolve as appliedLabels on ad units, companies, and line items, which tells the agent about the relational meaning of the returned ids. Pagination behavior for the 500-max limit and page_token is never discussed.

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 telegraphic MODE/OUTPUT/WHEN TO USE layout is front-loaded and wastes little space, and the type enumeration is informative rather than filler. The only redundancy is the read-only banner, which duplicates the annotation.

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?

With no output schema, the description does well to enumerate the returned fields and the label type taxonomy, so return semantics are covered. However, for a five-parameter list tool it omits any discussion of filtering, pagination, or the inactive-label default, which are precisely the decisions an agent must make before calling it.

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

Parameters2/5

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

Schema description coverage is only 60%, and the description contributes nothing about any of the five parameters. It never mentions substring search on label name, the default-100 limit, the include_inactive toggle, or the undocumented page_token and network_code, leaving the agent to infer whether inactive labels appear by default.

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 names a specific resource (the network's labels) and enumerates exactly what a label contains: id, name, description, the five label types, and an active flag. It also states that rows are what is returned, so the retrieval verb is unambiguous, though the verb itself is implied rather than stated outright.

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

Usage Guidelines4/5

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

An explicit 'WHEN TO USE' clause covers two concrete scenarios: resolving label ids to names, and auditing competitive-exclusion or frequency-cap labels. It also names the downstream consumers (gam_get_ad_unit appliedLabels, companies, line items), giving the agent a clear trigger. It stops short of stating when NOT to use it or naming an alternative tool for label listing.

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