Skip to main content
Glama

PPC: Ad groups

ppc_ad_groups
Read-only

Query ad group performance data within campaigns. Returns ad groups sorted by spend with metrics: cost, sales, ACoS, clicks, impressions, purchases, CTR, CVR, CPC. Supports filtering by campaign name, campaign ID, ad type, and metric thresholds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoScope by seller SKU (mapped to ASINs; matches SP/SD ad rows directly).
asinNoScope to campaigns/ad groups advertising this ASIN.
skusNoScope by multiple seller SKUs.
asinsNoScope to ANY of these ASINs.
limitNoMaximum ad groups to return. Default: 25, max: 50.
offsetNoPagination offset — page via next_offset to reach ALL ad groups.
ad_typeNoFilter to a specific ad type.
acos_maxNoMaximum ACoS as decimal.
acos_minNoMinimum ACoS as decimal.
end_dateNo
spend_minNoMinimum spend in dollars.
clicks_minNoMinimum clicks.
parent_skuNoScope to the full family by parent SKU.
profile_idNoWhich advertising profile (see account_profiles). Optional when the token has exactly one.
start_dateNo
campaign_idNoFilter to ad groups within a specific campaign.
parent_asinNoScope to the FULL parent family (all child ASINs resolved automatically).
period_daysNo
campaign_name_containsNoFilter to ad groups from campaigns matching this name.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds useful behavioral context: results are sorted by spend, and the specific metrics returned are enumerated. This goes beyond what the annotations alone convey without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose, then efficiently lists the returned metrics and supported filter dimensions. Every sentence contributes useful information with no filler or repetition of the title.

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 19-parameter tool with no output schema, the description lists the return metrics and main filters, but it omits important invocation context such as date-range handling, pagination behavior, and how SKU/ASIN/parent scoping filters interact. The undocumented date parameters are not addressed in the description.

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 84%, so the schema already documents most parameters. The description summarizes filter categories but does not add meaningful detail beyond the schema, and it does not compensate for the undocumented date parameters (start_date, end_date, period_days).

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 clearly states the specific resource ('ad group performance data within campaigns') and the action ('Query'), and lists the returned metrics and sorting behavior. It doesn't explicitly differentiate from sibling PPC tools by name, but the scope is specific enough to distinguish it from campaign-level or keyword-level tools.

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

Usage Guidelines3/5

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

The description implies the tool is for ad-group-level performance queries and mentions supported filters, but it provides no explicit guidance on when to choose this over siblings like ppc_campaigns, ppc_campaign_details, or ppc_keywords. No exclusions or alternative routing are given.

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.

Resources