Skip to main content
Glama

Adbloop Meta Ads

ad_library_link

Read-only

Competitor research: build a link to Meta's public Ad Library showing a brand's ads (search by name/keyword, or exact by Facebook Page ID). The user opens the link in their browser; Adbloop does not fetch or read the results. Available on every plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ad_library_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoBrand name or keyword, e.g. 'Nike'.
countryNo2-letter country code, or ALL. Default ALL.
page_idNoOptional — the competitor's Facebook Page ID for exact results.
media_typeNo
active_onlyNoOnly ads running now. Default true.
exact_phraseNoMatch the query as an exact phrase.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false; the description adds real value by stating the output is a URL the user opens and that no fetching/reading happens server-side, which prevents the agent from expecting data back. It also discloses plan availability. It stops short of saying whether the URL is deterministic or what happens with an invalid Page ID.

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 compact sentences with the action and its scope front-loaded, followed by the critical no-fetch caveat and plan availability. Nothing is redundant with the title or annotations.

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 six-parameter, no-output-schema tool that returns a URL, the description covers what it produces and what it does not do. Minor gaps remain around what the returned link looks like and edge-case behavior when page_id and query are both supplied.

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 83%, so most parameters are documented in the schema already, including the page_id 'exact results' semantics. The description restates the two lookup modes but adds no detail on media_type, active_only, country codes, or exact_phrase beyond what the schema says. Baseline 3 applies.

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 concrete verb and resource ('build a link to Meta's public Ad Library showing a brand's ads') plus the two lookup modes (name/keyword vs Page ID). This separates it from data-returning siblings like get_creative_library or get_insights without opening their schemas.

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?

Frames the use case ('Competitor research') and clarifies the search modes and that the user opens the link in a browser. It implies when not to use it ('Adbloop does not fetch or read the results'), but names no concrete alternative sibling for users who want the ad data itself.

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