Skip to main content
Glama
kLOsk

Google Ads - AdLoop

by kLOsk

draft_demographic_targeting

Draft demographic targeting for Google Ads by excluding or narrowing age, gender, parental status, and income segments. Returns a preview plan to review before applying.

Instructions

Draft demographic targeting (age/gender/parental status/income) — returns a PREVIEW.

By default, Google Ads serves to all demographic segments. This tool adds criteria that EXCLUDE a segment (negative=True, default) or NARROW targeting to it (negative=False — uncommon).

Provide exactly one of ad_group_id or campaign_id. At least one of the four demographic lists must contain a value.

Accepted values:

  • age_ranges: '18-24', '25-34', '35-44', '45-54', '55-64', '65+'. Google's buckets are FIXED — 'Exclude 23-35' has no exact mapping; ask the user which buckets to use.

  • genders: 'female', 'male', 'undetermined'

  • parental_statuses: 'parent', 'not_a_parent', 'undetermined'

  • income_ranges: PERCENTILES (not currency). 'top-10', '11-20', '21-30', '31-40', '41-50', 'lower-50', 'undetermined'. Available in select countries only (US, AU, JP, etc.).

Call confirm_and_apply with the returned plan_id to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gendersNo
negativeNo
age_rangesNo
ad_group_idNo
campaign_idNo
customer_idNo
income_rangesNo
parental_statusesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations indicate not read-only and not destructive. The description adds that the tool drafts and returns a preview, requiring confirmation via another tool. It also explains the effect of the negative flag and the fixed nature of Google's age buckets.

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 description is well-structured with clear sections and front-loaded purpose. It is somewhat lengthy but every sentence adds necessary value. Minor redundancy could be trimmed.

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?

Given the existence of an output schema (implied), the description adequately covers the tool's behavior, parameters, constraints, and follow-up step (confirm_and_apply). No gaps are evident for an AI agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by explaining each parameter: negative flag, ad_group_id vs campaign_id, and accepted values for age_ranges, genders, parental_statuses, income_ranges. It also notes constraints like at least one demographic list must be non-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?

The description clearly states the tool drafts demographic targeting criteria and returns a preview. It distinguishes from siblings like get_demographic_targeting (which retrieves existing) and confirm_and_apply (which executes the draft).

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?

The description explains when to use the tool (to exclude or narrow demographic segments) and provides constraints like providing exactly one of ad_group_id or campaign_id. It also directs to confirm_and_apply for execution. However, it does not explicitly state when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kLOsk/adloop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server