Skip to main content
Glama

Draft a Demand Gen audience

draft_demand_gen_audience

Draft a reusable audience from custom segments and user lists — returns a PREVIEW.

Combines custom segments (draft_custom_segment) and "your data" lists, lookalikes included (get_audience_lists, draft_lookalike_list): a person in ANY of them is in the audience. With ad_group_id the audience is also attached to that Demand Gen ad group in the same request, which limits the ad group to these people. When that ad group is running (campaign and ad group enabled), reach shrinks at once, so the plan needs a double confirmation. For Search campaigns use draft_audience_attachment instead.

Google Ads API: https://developers.google.com/google-ads/api/docs/start

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

Input Schema

NameRequiredDescriptionDefault
nameYesAudience name, unique in the account.
ad_group_idNoOptional Demand Gen ad group to attach the audience to.
customer_idNoGoogle Ads customer ID (digits, dashes optional). Defaults to the configured account.
descriptionNoOptional description.
user_list_idsNoUser list ids (remarketing, customer and lookalike lists).
custom_audience_idsNoCustom segment ids.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=true; the description adds the crucial facts that this returns a PREVIEW, that supplying ad_group_id attaches the audience and restricts the ad group to those people, that reach shrinks immediately on a running ad group, and that a double confirmation is required. That is real consequence disclosure an agent cannot get from the structured fields.

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 key fact (PREVIEW) is front-loaded and every paragraph adds decision-relevant information. It is slightly dense in the middle clause about ad group attachment, and the trailing Google Ads API docs link adds little to tool selection.

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 drafting tool with an output schema and full schema coverage, the description covers purpose, input sources, the OR-combination rule, the optional attach side effect, confirmation requirements, and the cross-campaign alternative. Nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description adds meaning beyond it: segments and lists combine with OR semantics ("a person in ANY of them is in the audience") and ad_group_id carries a side effect not stated in its schema text (it limits the ad group's targeting). It stops short of covering edge cases like what happens if both id arrays are empty.

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?

"Draft a reusable audience from custom segments and user lists — returns a PREVIEW" names a concrete verb (draft/create), the resource (audience), the input sources, and the output form. It further separates itself from the sibling draft_audience_attachment by scoping this tool to Demand Gen campaigns.

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 names the three upstream tools that produce the inputs (draft_custom_segment, get_audience_lists, draft_lookalike_list) and explicitly routes Search campaign use to draft_audience_attachment instead. The optional ad_group_id path is framed with the condition under which it applies.

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.