Skip to main content
Glama

ADS MCP

Add Assets to PMax Asset Group

add_asset_group_assets

Add headlines, descriptions, a long headline, a business name, and/or images to an existing Performance Max asset group. USE THIS for PMax — NOT create_ad. Step 1: list_asset_groups to get asset_group_id. Step 2 (for images): create_image_asset to get a resource_name. Step 3: call this tool. Headlines max 30 chars. Descriptions max 90 chars. Long headline max 90 chars (only one is used by Google Ads — if one already exists, remove it first with remove_asset_group_assets or the new one will just add another candidate for the ad to rotate). Business name max 25 chars (same one-active-value note applies). Use list_asset_group_creative first to see what's already there and avoid piling up near-duplicate headlines/descriptions. Image field_type must match the image's actual aspect ratio/size or Google Ads will reject it: MARKETING_IMAGE (landscape 1.91:1, min 600x314px, recommended 1200x628), SQUARE_MARKETING_IMAGE (1:1, min 300x300, recommended 1200x1200), PORTRAIT_MARKETING_IMAGE (4:5, min 480x600, recommended 960x1200), LOGO (square 1:1, min 128x128, recommended 1200x1200), LANDSCAPE_LOGO (4:1, min 512x128, recommended 1200x300). Max 5MB per image, JPG or PNG.

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

Input Schema

NameRequiredDescriptionDefault
headlinesNoHeadlines to add. Max 30 chars each.
customer_idNo
user_intentYes
descriptionsNoDescriptions to add. Max 90 chars each.
image_assetsNoExisting Google Ads image assets to attach, from create_image_asset's resource_name.
business_nameNoOptional. Max 25 chars. To replace an existing one, remove it first via remove_asset_group_assets.
long_headlineNoOptional. Max 90 chars. To replace an existing one, remove it first via remove_asset_group_assets.
asset_group_idYesPMax asset group ID from list_asset_groups.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes far beyond that, disclosing that adding a second long headline or business name simply creates another rotatable candidate unless the old one is removed first, and that mismatched image field_type or oversize/invalid files will be rejected by Google Ads. It also gives the hard constraints (30/90/90/25 char limits, 5MB, JPG/PNG) and per-field_type pixel requirements.

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?

It is dense but front-loaded: purpose first, then a numbered workflow, then constraints and the image specification block. Some material duplicates the schema (character limits on headlines/descriptions/business_name/long_headline), which is mild waste in an otherwise information-rich description.

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 an 8-parameter mutation tool with no output schema, the description covers the workflow, the pitfalls (duplicate candidates, field_type mismatch, size limits), and the remediation path. The only real gap is return/partial-failure behavior, which is minor given how thoroughly the preconditions are documented.

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 75%, and the description adds genuine meaning beyond it: field_type is tied to concrete aspect ratios and minimum sizes so the agent can pick the right enum value, and asset_group_id/resource_name provenance is traced to list_asset_groups and create_image_asset. It does not explain customer_id or user_intent, and the character limits restate what the schema already says.

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 description opens with a specific verb and resource set ('Add headlines, descriptions, a long headline, a business name, and/or images to an existing Performance Max asset group') and explicitly distinguishes itself from the sibling create_ad. An agent can tell exactly what this tool does and what it does not do without opening the 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?

It gives an explicit ordered workflow: list_asset_groups for the asset_group_id, create_image_asset for images, then this call, plus a pre-check with list_asset_group_creative to avoid near-duplicates. It also names the removal path (remove_asset_group_assets) for the one-active-value fields, so when-to-use and when-to-do-something-else are both covered.

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.