Skip to main content
Glama

ADS MCP

Create Performance Max Asset Group

create_asset_group

STEP 2 of 2 for Performance Max. BEFORE calling this, check list_asset_groups — if an asset group already exists for this campaign, use add_asset_group_assets instead. Requires campaign_id from create_performance_max_campaign. Headlines: 3-15 (max 30 chars). Long headline: 1 (max 90 chars). Descriptions: 2-5 (max 90 chars). Search themes: up to 50.

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>",
      "campaign_id": "<campaign_id>",
      "name": "<name>",
      "final_url": "<final_url>",
      "business_name": "<business_name>",
      "headlines": "<headlines>",
      "long_headline": "<long_headline>",
      "descriptions": "<descriptions>"
    },
    "name": "create_asset_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
final_urlYes
headlinesYes3-15 headlines, max 30 chars each.
campaign_idYes
customer_idNo
user_intentYes
descriptionsYes2-5 descriptions, max 90 chars each.
business_nameYes
long_headlineYesExactly 1 long headline, max 90 chars.
search_themesNoUp to 50 search theme keywords.
logo_resource_nameNoOptional. Image asset to use as the LOGO (customers/123/assets/456, see list_asset_library). If omitted, the account's brand logo is detected automatically (business logo asset, logo already used in other asset groups, or a file named logo). If none is found the call stops and lists square candidates instead of guessing.
square_image_resource_nameNoOptional. Explicit square (1:1) image asset to use for SQUARE_MARKETING_IMAGE (customers/123/assets/456, e.g. from create_image_asset). Same auto-pick-bypass behavior as marketing_image_resource_name.
marketing_image_resource_nameNoOptional. Explicit landscape (1.91:1) image asset to use for MARKETING_IMAGE (customers/123/assets/456, e.g. from create_image_asset). Skips auto-pick entirely. Use this on accounts with large asset libraries, where auto-pick's 200-row query may not see a just-uploaded image or may keep returning the same asset that's failing NOT_ENOUGH_MARKETING_IMAGE_ASSET.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say mutating-but-non-destructive; the description adds genuine behavioral detail — a required prior read step, an ordering constraint within a two-step flow, strict content-count/character validation, and the failure mode where a missing logo halts the call and returns square candidates instead of guessing. It stops short of describing what the successful response contains or whether re-running creates duplicates.

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 step number, then the sibling check, then the dependency, then the content constraints — a sensible priority order with no filler sentences. The trailing constraint list is a dense run-on that partly duplicates schema text, which keeps it from being exemplary.

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?

For a 13-parameter, 8-required creation tool with no output schema, the description covers sequencing and content validation well but leaves the caller without guidance on user_intent, customer_id, business_name, or final_url semantics and without any expectation of the returned asset group. Adequate to invoke, incomplete for confident use.

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 54%, and the description restates the headline/long-headline/description/search-theme limits that are already in the schema descriptions. Several required parameters (customer_id, user_intent, business_name, final_url, name, campaign_id) get no meaning added, and the rich image auto-pick fallback lives only in the schema, so the description only partially compensates for the coverage gap.

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 establishes this as the second half of a Performance Max build that produces an asset group, with concrete content requirements (headlines 3-15/30 chars, 2-5 descriptions/90 chars). It clearly separates itself from add_asset_group_assets, though it never states the verb+resource in a single plain sentence and leans on the tool name and 'STEP 2 of 2' framing to convey that it creates an asset group.

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?

Explicit preconditions and alternatives: check list_asset_groups first, and if an asset group already exists for the campaign, call add_asset_group_assets instead. It also names the upstream dependency (campaign_id from create_performance_max_campaign), so both the when and the when-not are spelled out.

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.