Skip to main content
Glama

meta_list_ad_sets

Lists Meta ad sets for an ad account or a verified campaign, returning targeting and budget configuration with cursor pagination and effective-status filters.

Instructions

List Meta ad sets for an account or one verified campaign, including targeting and budget configuration.

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

Input Schema

NameRequiredDescriptionDefault
afterNoOptional Meta cursor returned as next_after
account_idNoMeta ad account ID. Uses the active account or META_AD_ACCOUNT_ID when omitted.
campaign_idNoOptional campaign ID to restrict results; ownership is verified first
max_resultsNoMaximum rows to return across cursor pages
effective_statusesNoOptional effective-status filters such as ['ACTIVE', 'PAUSED']

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the word 'List' signals a read-only operation and the description notes it includes targeting and budget configuration. It does not disclose pagination behavior, rate limits, permissions, or side-effect expectations beyond what 'List' implies.

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 definition is a single efficient sentence with the core resource and scope front-loaded. No words are wasted, and the inclusion of output content ('targeting and budget configuration') adds useful context without bloat.

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?

An output schema exists, so return values need not be explained in detail, and the input schema fully documents all parameters. The description covers the core purpose and scope, though it leaves some behavioral and alternative-selection context implicit.

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 input schema has 100% description coverage, so all five parameters are already documented with their roles. The description adds scope context ('account or one verified campaign') but no additional parameter syntax or constraints beyond the schema.

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 ('List'), resource ('Meta ad sets'), and scope ('for an account or one verified campaign'). This clearly distinguishes it from related list tools for campaigns, ads, or ad accounts, though it does not explicitly name alternatives.

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?

It implies when to use the tool by specifying it lists ad sets for an account or a verified campaign. However, it gives no explicit when-not guidance, prerequisites, or comparisons to sibling listing tools.

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