Skip to main content
Glama

list_ad_groups

Lists ad groups for a Google Ads account, optionally filtered by campaign, so you can inspect campaign structure and manage targeting.

Instructions

List ad groups, optionally filtered by campaign.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ad_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idNoFilter by campaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies a read via the word 'List'. It says nothing about result scope (which account/company the ad groups come from), pagination, or whether customer_id falls back to an active account — only the schema's own field text hints at that default.

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?

A single front-loaded sentence with zero filler, appropriately sized for a two-optional-parameter list tool. It is terse rather than padded, though slightly more content would not have hurt.

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?

The tool is simple (2 optional params, output schema present so return values need no explanation), and the description covers listing plus the campaign filter. It leaves a real gap on account scoping — the customer_id/active-account behavior is a meaningful dimension an agent needs before calling.

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 description coverage is 100%, so both campaign_id and customer_id are already documented with their defaults. The description's 'optionally filtered by campaign' merely restates campaign_id and adds nothing about customer_id or the no-dashes ID format, so baseline 3 applies.

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 states a specific verb and resource ('List ad groups') plus the one available narrowing dimension. It is immediately distinguishable from create_ad_group or update_ad_group by the verb alone, though it never names a sibling or scope (e.g. whether results are limited to the active Google Ads account).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Optionally filtered by campaign' hints at how to narrow results but gives no when-to-use guidance, no comparison to alternatives like get_ad_group_performance or list_campaigns, and no exclusions. The agent must infer the call context entirely.

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

Deploy Server

Other Tools