Skip to main content
Glama

meta_ads_ad_sets_list

List ad sets in a Meta Ads account to audit delivery settings and targeting, or to find an ad_set_id before creating ads.

Instructions

Lists ad sets in a Meta Ads account, optionally scoped to a single parent campaign. Returns id, name, campaign_id, status, effective_status, daily_budget, lifetime_budget, optimization_goal, billing_event, and targeting_summary per ad set. Read-only. Ad sets are where budgets and targeting live — use this to audit delivery settings or to find an ad_set_id before creating ads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum records to return in a single call. Default 50. Meta Graph API caps at 1000 per page; for larger result sets reduce limit and filter client-side on the returned fields.
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
campaign_idNoRestrict results to ad sets under this campaign. Omit to list across the whole account.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly marks the operation as 'Read-only', which is a key behavioral trait. It also lists the exact fields returned. It does not mention pagination or rate limits, but the schema already documents the limit parameter, and the read-only disclosure is sufficient for safety.

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 two sentences, front-loaded with the primary action, and efficiently packs in returned fields and usage guidance. Every sentence earns its place, and there is no redundancy or filler.

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?

The description is complete for a list tool: it explains the purpose, return fields, read-only nature, and use cases. The schema handles parameter details, and there is no output schema, so the field list is essential and provided. It could mention behavior with no results or pagination, but that is minor given the schema's limit 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?

The schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds minimal parameter semantics beyond what the schema already provides—it reinforces the optional campaign scoping, but does not introduce new meaning for the parameters.

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 it lists ad sets in a Meta Ads account, with optional scoping to a single parent campaign. It enumerates the returned fields, and the verb 'lists' is specific to this read operation, distinguishing it from sibling tools like meta_ads_ad_sets_get or meta_ads_ad_sets_update.

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 gives explicit use cases: 'use this to audit delivery settings or to find an ad_set_id before creating ads.' It does not explicitly state when not to use it or name alternatives, but the context is clear enough for an agent to decide.

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/logly/mureo'

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