Skip to main content
Glama

AdsLibraryAPI — Meta, Google & TikTok Ad Library JSON MCP

Audit Ad Destination Landing Page Headline, Offer, CTAs & Tracking Pixels

audit_ad_landing_page
Read-onlyIdempotent

Inspect any commercial ad landing page URL in real time: extracts above-the-fold H1 headline, offer structure (pricing mentions, free trial, demo CTA, discounts, no-credit-card claims), primary CTAs, redirect hops, and 12 tracking pixels (meta_pixel, gtag, gtm, tiktok_pixel, linkedin_insight, hubspot, klaviyo, segment, hotjar, clarity). Cost: 10 Credits / audit.

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": {
      "url": "<url>"
    },
    "name": "audit_ad_landing_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTP/HTTPS ad destination URL (e.g. "https://monday.com").

Output Schema

NameRequiredDescriptionDefault
codeYes0 on success, -1 on error.
dataYesLive landing page funnel teardown and tracking pixel inspection.
statusYesResponse status ("ok" or "error").
providerNoGateway origin URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior, so the description's job is to add context beyond that — and it does, disclosing the 10 Credits/audit cost and that the inspection is real-time against a live URL. It does not cover failure modes (non-ad pages, paywalls, JS-rendered content) or rate limits, which keeps it short of a 5.

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 dense, front-loaded sentence that leads with the verb and resource before listing outputs and cost. Minor flaw: it claims '12 tracking pixels' but then names only 10, an internal inconsistency that slightly undercuts the precision.

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, and the annotations plus cost statement cover the operational profile. What remains unaddressed is what happens when a URL is not an ad page or when extraction partially fails — relevant for an open-world scraping tool.

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?

With a single parameter at 100% schema coverage, the schema already defines the URL and its public HTTP/HTTPS format. The description adds only the qualifier that it must be a 'commercial ad landing page' inspected in real time, which is marginal added meaning over the schema.

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?

States a specific verb ('Inspect'), a specific resource ('commercial ad landing page URL'), and enumerates exactly what is extracted (H1, offer structure, CTAs, redirect hops, pixels). This is clearly distinguishable from the sibling search/dossier tools, which retrieve ad records rather than audit a live page.

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?

Usage is implied by 'Inspect any commercial ad landing page URL in real time' and the credit cost gives a hint about when it is worth invoking, but there is no explicit when-to-use vs when-not guidance and no reference to alternatives such as the ad-library search siblings.

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