Skip to main content
Glama

Apogee: Bulk Ad Launcher for Meta, TikTok & Snapchat

Meta ads' scripts and results (creative audit)

get_ad_scripts
Read-onlyIdempotent

What the top Meta ads say (hook, script, text on screen) next to what they sold: a creative audit of which scripts to redo, fix or stop. Rank the ads of a Meta ad account by spend and read what each one says next to what it sold. Per ad:

  • results: spend, purchases, revenue, ROAS, CPA, CTR, link CTR, CPM, frequency; a video's hook rate (3-second views / impressions), hold rate and completion rate (benchmarks in the answer);

  • copy: its primary texts, headlines, descriptions, call to action and link;

  • script (a video): hook = the words said in the first 3 seconds, the window the hook rate measures (null when nobody speaks in them: the hook is then what on_screen shows); lines = what is said, each with its moment in seconds (the body, then the call to action in the last ones); on_screen = the text, the tagline and the offer its frames show, and its style; spoken false = nobody speaks (music or silence): read on_screen. A video's script costs credits the first time it is read (script.status "read"), nothing once Apogee keeps it ("cached"). An image, a carousel, or a video that could not be read says why and costs nothing. 10 ads a call at most: the following ones with after (the answer's next). ad_ids reads named ads instead of the ranking, whether they ran or not.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "get_ad_scripts"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoThe next of a previous answer: the ads that follow, with the same date_preset
limitNoHow many ads, the biggest spend first (default 10)
ad_idsNoRead these ads instead of the ranking
languageNoThe language the ads speak, ISO 639-1 (fr, en…), when known: short videos are heard better with it. Keep the same one for an account: a script is kept per language asked, another one reads the videos again
date_presetNoThe period of the ranking and of the results (default last_90d). maximum = every ad that ever ran (Meta keeps 37 months)
ad_account_idYesMeta ad account id (act_…), from list_ad_accounts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that reading a video's script costs credits the first time and is free once cached, and that images, carousels and unreadable videos cost nothing and say why. It also documents pagination behaviour and edge-case semantics such as a null hook when nobody speaks in the first 3 seconds.

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?

The purpose is front-loaded in a single sentence and the bulleted breakdown of returned fields is scannable. It is dense and long, with some nested explanation of hook/on_screen fallbacks that could be tightened, but nearly every clause carries information an agent needs.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing returns, and it does so thoroughly: metrics list, copy fields, script structure (hook/lines/on_screen/spoken) and failure representations. For a six-parameter, credit-consuming tool this is complete.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: 'after' is framed as the next of a previous answer carrying the same date_preset, and ad_ids is clarified as reading named ads whether or not they ran. Language is explained in terms of script caching per language, which adds nuance over the enum alone.

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 — rank the ads of a Meta ad account by spend and read what each says next to what it sold — and frames the output as a creative audit for deciding which scripts to redo, fix or stop. That distinguishes it from plain ad-listing siblings like get_ads or list_ads without needing to name them.

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?

It states the ranking mode versus the ad_ids mode ('ad_ids reads named ads instead of the ranking, whether they ran or not') and explains how to continue past the 10-ad cap with 'after'. What is missing is an explicit statement of when to prefer this over the sibling ad/creative tools, but the mode selection guidance is clear.

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.