Skip to main content
Glama

ADS MCP

Attach Audience Signal to PMax

attach_audience_to_pmax

Attach a remarketing list (user list) as an audience signal on a Performance Max asset group. Google Ads requires the user list to be wrapped in an Audience resource first — this tool checks for an existing wrapper Audience for that user list before creating a new one, then attaches it in one step. Google Ads allows only ONE audience signal per asset group — call list_asset_group_signals FIRST to check what's already attached (often an auto-generated AssetGroupPersona audience). If one is already attached, this call fails with ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP unless replace_existing is set to true, which removes the current signal before attaching the new one. Use list_audiences to find the user_list_id and list_asset_groups for the asset_group_id. ALWAYS get explicit approval first — replacing an existing signal is irreversible (the removed signal, e.g. an auto-generated persona, is not automatically recreated).

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": {
      "user_intent": "<user_intent>",
      "asset_group_id": "<asset_group_id>",
      "user_list_id": "<user_list_id>"
    },
    "name": "attach_audience_to_pmax"
  }
}

Input Schema

NameRequiredDescriptionDefault
customer_idNo
user_intentYes
user_list_idYesNumeric user list ID (or full resource name) from list_audiences.
audience_nameNoOptional display name if a new Audience wrapper needs to be created.
asset_group_idYesPMax asset group ID from list_asset_groups.
replace_existingNoIf an audience signal is already attached to this asset group, set true to remove it and attach the new one instead. Default false (fails safely with ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP if one exists). Get explicit user confirmation before setting true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries the real behavioral load: it discloses the implicit Audience-wrapper lookup/creation, the one-signal-per-asset-group limit, the specific error code on conflict, and that replacing is irreversible with the prior signal not auto-recreated. The only blemish is a tension with destructiveHint=false, since the opt-in replace path does destroy an existing signal — though the default path fails safely and the schema documents that default.

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 action, then the prerequisite, the constraint, and the safety warning in a logical order. It is dense but nearly every sentence carries operational information; the mandatory-approval sentence is emphasized rather than redundant.

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?

For a six-parameter mutation tool with no output schema, it covers prerequisites, dependency tools, the failure mode, the override flag, and the irreversibility risk — everything an agent needs to call it safely. The only omission is what the successful response contains, which is minor here.

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 67%, and the description reinforces the two ID parameters by pointing to the tools that supply them (list_audiences, list_asset_groups) and explains the consequence of replace_existing beyond the schema's own wording. The two undocumented parameters (customer_id, user_intent) are left unexplained, but the high-value parameters are well covered.

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: attach a remarketing user list as an audience signal on a Performance Max asset group. It also distinguishes the operation from the sibling detach_audience and from list_asset_group_signals by naming the wrapper-Audience creation step that makes this tool unique.

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?

Explicitly prescribes the sequence: call list_asset_group_signals FIRST to check for an existing signal, use list_audiences to obtain user_list_id and list_asset_groups for asset_group_id, and obtain explicit user approval before proceeding. It also names the condition under which the call fails (ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP) and the alternative path (replace_existing=true).

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.