Skip to main content
Glama

ads_ad_sets_list

Read-onlyIdempotent

List ad sets (Google: ad groups) across ad accounts. Returns { total, page, per_page, data } from the last background sync (hourly for accounts with live ads). Each row is an ad object with kind ad_set.

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": "ads_ad_sets_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601. Created on the network at or before this time. No effect on Google Ads.
fromNoISO 8601. Created on the network at or after this time. No effect on Google Ads.
pageNoPage number, 1-based (default 1)
sortNoDefault newest
searchNoName contains this text, or exact network id
sourceNoall (default) or postproxy (created through Postproxy only)
statusNoOnly objects in one of these statuses
post_idNoOnly ads boosting this Postproxy post (post hashid)
per_pageNoPage size (default 25, max 100)
platformNoAd network: meta_ads or google_ads
profile_idNoOnly objects of this ads profile (hashid)
campaign_idNoOnly objects of this campaign. Network id (campaign_id / platform_id field), not the Postproxy id.
platform_idNoThe object with this network id
ad_account_idNoOnly objects of this ad account (network id from ads_accounts_list)
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond them: results are served from the last background sync, refreshed hourly only for accounts with live ads, meaning data can be stale — a caveat an agent would otherwise miss.

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?

Three short sentences, front-loaded with the verb and resource, then the return shape, then the row semantics. Every sentence carries information; 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.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter, zero-required list tool with no output schema, the description covers the important unknowns: return envelope shape, row identity, and data freshness. Remaining gaps (pagination behavior, filter combination rules) are minor and largely addressed by the schema's own parameter descriptions.

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% with 15 well-documented optional parameters, so the schema carries the semantic load. The description adds no filtering hints beyond the schema (e.g., how from/to interact with the sync lag, or that campaign_id expects a network id) — 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 names a specific verb and resource ("List ad sets") and disambiguates the Google terminology ("ad groups"), plus clarifies that rows are ad objects of kind ad_set. It does not, however, differentiate itself from siblings such as ads_ads_list or ads_ad_set_get, so an agent must infer which listing endpoint to pick.

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?

Usage is implied by the scope statement "across ad accounts" and by the mention that results come from the last background sync, which signals a read/listing scenario. There is no explicit when-to-use vs when-to-use-a-sibling guidance, no statement about choosing ads_ads_list for individual ads or ads_ad_set_get for a single record.

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.