Skip to main content
Glama
navidmoazzez

Facebook Ad Library MCP

by navidmoazzez

What changed for an advertiser

diff_advertiser
Read-onlyIdempotent

Compare an advertiser's ads against the last snapshot to identify newly started and stopped ads. First call records a baseline; subsequent calls reveal what changed.

Instructions

Compare an advertiser's ads now against the last time this server looked, and report what they started and stopped running. The first call on a Page records a baseline and reports nothing changed, which is expected: call it again later to see movement. This is the only tool here that answers 'what changed' rather than 'what is running'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many ads to pull for the comparison. Keep it consistent between calls.
countryNoTwo-letter country code. Default US.
page_idYesAdvertiser Page ID to compare. Get it from list_advertisers.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
page_idYes
running_nowNo
tracked_nowNo
no_longer_seenNo
started_runningNo
baseline_createdYes
previously_trackedNo
Install Server

TDQS

A3.8/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, but the description says the first call records a baseline and later calls report movement. This is a persistent server-side side effect and repeated identical calls intentionally return different results, directly contradicting the idempotent and read-only hints. Flagged as Annotation Contradiction.

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, front-loaded with the core purpose, then the key stateful caveat, then the sibling distinction. Every sentence earns its place and there is no filler.

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 low-complexity tool with a full schema and an output schema, the description provides the needed operational details: baseline behavior, expected first-use outcome, and when to call again. It is nearly complete, but the contradiction between the stateful behavior and the idempotent/read-only annotations leaves some context unresolved.

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%, with all three parameters documented including the limit consistency note and country default. The description itself adds no extra parameter semantics, so the baseline of 3 is appropriate.

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 action (compare/report changes) on a specific resource (advertiser's ads), and immediately distinguishes itself from siblings: 'the only tool here that answers what changed rather than what is running.' An agent can tell what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly handles the first-call case (records a baseline, reports nothing changed) and tells the agent to call again later to see movement. It also names the conceptual alternative category, tools describing what is running, so an agent knows when not to use it.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/navidmoazzez/facebook-ad-library-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server