Skip to main content
Glama

ADS MCP

Create Demand Gen Ad Group + Ad

create_demand_gen_ad_group

STEP 2 of 2 for Demand Gen. Requires campaign_id from create_demand_gen_campaign. Creates one ad group AND its DemandGenMultiAssetAd together in one call. Headlines: 1-5 (max 30 chars). Descriptions: 1-5 (max 90 chars). Needs at least one of marketing_image_resource_name/square_image_resource_name (auto-detected from the asset library if omitted) plus a logo (required, also auto-detected if omitted).

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

Input Schema

NameRequiredDescriptionDefault
nameYes
final_urlYes
headlinesYes1-5 headlines, max 30 chars each.
campaign_idYes
customer_idNo
user_intentYes
descriptionsYes1-5 descriptions, max 90 chars each.
business_nameYes
logo_resource_nameNoOptional. Image asset for the required logo (customers/123/assets/456, see list_asset_library). Auto-detected if omitted, same detection logic as create_asset_group; if none can be found with certainty the call stops and lists square candidates instead of guessing.
call_to_action_textNoOptional call-to-action text.
square_image_resource_nameNoOptional. Explicit square (1:1, min 300x300) image asset. Auto-picked from the asset library if omitted. At least one of this or marketing_image_resource_name is required.
marketing_image_resource_nameNoOptional. Explicit landscape (1.91:1, min 600x314) image asset. Auto-picked from the asset library if omitted. At least one of this or square_image_resource_name is required (unlike Performance Max, Demand Gen does not require both).

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 declare readOnlyHint=false and destructiveHint=false; the description goes further by disclosing the auto-detection fallback behavior (assets picked from the library, and the call stops and lists candidates rather than guessing when ambiguous). It still omits what happens on partial failure (ad group created but ad rejected) and any permission prerequisites.

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-loads the step number and the dependency, then the creative constraints — dense but well ordered with zero filler. The back half is a run-on of parenthetical asset rules that could be split for scanability.

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 12-parameter, 7-required mutation with no output schema and only 50% schema coverage, the description omits a critical piece: it never says what is returned (e.g., the new ad group/ad IDs), which matters since this is a multi-step workflow. It is adequate on inputs but incomplete on the create-and-return contract.

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 50%, and the description does add the non-obvious constraint that only one of square/marketing image is needed (unlike Performance Max) and that a logo is required. However roughly half the parameters (user_intent, customer_id, name, final_url, business_name, call_to_action_text) get no meaning from the description, so the baseline 3 is right.

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?

Names a specific verb and compound resource ('Creates one ad group AND its DemandGenMultiAssetAd together in one call') and explicitly positions itself as STEP 2 of 2, which distinguishes it from the plain create_ad_group/create_ad siblings.

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?

Gives a clear precondition and sequencing rule ('Requires campaign_id from create_demand_gen_campaign'), which tells the agent exactly when this tool is callable. It does not state when to prefer the separate create_ad_group/create_ad path instead, so it falls short of explicit alternatives.

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.