Skip to main content
Glama

Get Custom Audience Ads

adsap_get_custom_audience_ads

List the ads that use/target a given custom audience (live from Meta) — each with its ad set and campaign id. Use BEFORE deleting an audience (deleting auto-pauses the ad sets that use it — an empty list means it's safe), or to answer 'where is this audience used?'. Group results by adset_id for the ad-set view. Get the custom_audience_id from adsap_list_custom_audiences.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoPagination cursor from a previous response's meta.paging_after, to fetch the next page.
limitNoMax ads to return per page. Default 25, max 100.
ad_account_idYesAd account ID (act_xxx) the audience belongs to. Required — scopes the request and anchors the Meta budget check.
custom_audience_idYesCustom audience ID (numeric). Get it from adsap_list_custom_audiences.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that the data is live from Meta, that the result is only safe if empty before deletion, and notes that deleting an audience auto-pauses dependent ad sets. It could go further on rate limits or explicit non-mutation guarantees, but the 'List' verb and deletion context make the read-only nature clear.

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?

Three sentences carry purpose, output shape, use cases, a safety implication, and a grouping tip. There is no filler, and the primary purpose is front-loaded before the usage guidance.

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 tool with no output schema and no annotations, the description explains the return fields, the safety condition, and where to get the required ID. Pagination behavior is left to the schema, which documents it well. A brief note on the overall response format would push this to a 5.

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%, so the baseline is 3. The description points to adsap_list_custom_audiences as the source for custom_audience_id, but the schema already says this. It adds no substantial parameter-level meaning beyond what the schema provides.

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 opens with a specific verb and resource: 'List the ads that use/target a given custom audience' and specifies the key output fields (ad set and campaign id). It clearly distinguishes this from the many sibling list/get tools by tying the result to a custom audience and adding 'live from Meta.'

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 before deleting an audience, and to answer 'where is this audience used?'. It even clarifies that an empty list means deletion is safe. It does not explicitly name alternative tools to avoid, so it falls just short of a 5.

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