Skip to main content
Glama

Meta Ad Library Spend MCP by AdSpendSpy

List advertiser ads

list_brand_ads
Read-onlyIdempotent

List creative summaries for one tracked advertiser, newest internal ID first, or with sort spend highest latest cumulative estimated spend first (use it for an advertiser's top ads). pagination.next_cursor returns the next page. Each ad carries internal_ad_id (AdSpendSpy ID) and meta_ad_id (the ad on Meta). creative_group is set when the same picture also runs under other Meta ad IDs (relaunch, other CTA or text): copies and spend_eur count every copy.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_id": "<page_id>"
    },
    "name": "list_brand_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNonewest = newest internal ID first; spend = highest estimated spend first.newest
limitNo
cursorNoOpaque pagination.next_cursor returned by the previous page with the same filters.
page_idYesMeta advertiser page ID, kept as a string.
media_typeNoall
active_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new facts: pagination flows through pagination.next_cursor and creative_group aggregates copies so spend_eur counts every copy across relaunches. It does not cover rate limits or what happens with an invalid cursor, but the aggregation caveat is the kind of non-obvious behavior worth flagging.

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 sentences, front-loaded with purpose and ordering, with no filler. The middle clause ('or with sort spend highest latest cumulative estimated spend first') is grammatically tangled and slightly harder to parse than needed, but nothing is wasted.

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?

No output schema exists, so the description must explain return shape, and it does: pagination.next_cursor plus internal_ad_id, meta_ad_id, and creative_group semantics. Given a 6-parameter tool with annotations covering the safety profile, this is close to complete; only the undocumented filter parameters (media_type, active_only) leave a gap.

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 coverage is 50%. The description restates the sort enum values already documented in the schema and mentions cursor only indirectly via next_cursor, while limit, media_type, and active_only get no explanation in either place. Those remaining parameters are largely self-evident from their names, defaults, and enums, so a baseline 3 is fair.

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 creative summaries for one tracked advertiser') and scopes it to a single page_id with a default ordering. An agent can tell this is a tracked-advertiser creative listing, though it never names the closely related siblings (get_advertiser_ads, list_new_ads), so differentiation still requires inference.

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?

There is one explicit use case: 'use it for an advertiser's top ads' when sort=spend. Beyond that, the description gives no when-to-use versus when-not guidance and names no alternatives, so the agent must guess how this differs from get_advertiser_ads or list_new_ads.

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