Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_list_adsets

Read-only

List ad sets for a Meta ad account or specific campaign, with optional status filters and pagination controls for reviewing ad set data.

Instructions

List ad sets for an ad account or a specific 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": "meta_list_adsets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
max_pagesNo
campaign_idNoIf provided, lists ad sets belonging only to this campaign.
ad_account_idNo
effective_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the scoping distinction between account-level and campaign-level listing, but says nothing about pagination (limit/max_pages defaults and caps), result ordering, or rate/auth constraints on a live API — useful context is left on the table.

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?

One front-loaded sentence with no filler; the scoping condition is stated immediately. It is not padded, though the brevity comes at the cost of the parameter and pagination detail noted elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

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

For a five-parameter, paginated listing tool with no output schema, the definition omits pagination behavior, status filtering, and return shape. An agent could call it, but would not know defaults, page limits, or whether a campaign_id is required alongside an ad_account_id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description should compensate, but it only covers the ad_account_id/campaign_id targeting semantics. It says nothing about limit (default 50, max 200), max_pages (default 3, max 10), or the effective_status filter values, leaving most parameters undocumented in both places.

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?

States a specific verb and resource ('List ad sets') plus its two scoping modes: an ad account or a specific campaign. That distinguishes it clearly from create/update/get siblings, but it does not explicitly contrast with meta_list_ads or meta_get_adset, which share the ad-set domain.

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 phrase 'for an ad account or a specific campaign' implies the two valid targeting contexts, but there is no when-to-use guidance against alternatives, no prerequisite/authentication note, and no statement about when to prefer meta_get_adset for a single ad set.

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