Skip to main content
Glama

Google Ads & Meta Ads

Meta: Find Ad Library Advertisers

meta_search_ad_library_advertisers
Read-onlyIdempotent

Find public Meta Ad Library advertisers by brand, company or Page name, or by Instagram handle. On Meta an advertiser is a Facebook Page: returns candidate Pages with their public Page id, Page alias, category, verification, follower counts and linked Instagram handle. Several Pages often share a name (regional Pages, franchises, resellers, fan Pages): a similar name or a large following does not show ownership, so when more than one is plausible, show the candidates and ask the user which one they mean before listing ads. Then pass the chosen pageId to meta_list_ad_library_ads. A website is not an advertiser selector here; search by the brand name instead. This is public data about other advertisers, not the user's own Meta ad account, and needs no connected Facebook or Meta Ads account. Read-only.

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": {
      "query": "<query>"
    },
    "name": "meta_search_ad_library_advertisers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoCandidates to return, 1–25 (default 10).
queryYesBrand, company or Page name, or an Instagram handle, e.g. "Nike".
countryNoTwo-letter ISO country code to look in, e.g. US. Omit to look in all countries.

Output Schema

NameRequiredDescriptionDefault
queryYesName searched.
sourceYesWhere this data came from and when.
countryYesCountry searched, or ALL.
coverageYesKnown limits of this research; state them with any conclusion.
warningsYesConditions of this particular result that change how to read it.
advertisersYesCandidate Pages. A match on the name, not on identity. Null means the source did not supply the value.
returnedCountYesCandidates returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, open-world and idempotency, and the description adds genuinely new context: this is public data about third-party advertisers rather than the user's own ad account, and it requires no connected Facebook or Meta Ads account. It also pre-empts a costly misread by warning that name similarity or follower count does not imply ownership, which drives an interaction pattern rather than a silent guess.

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?

Purpose and entity definition are front-loaded, followed by ambiguity handling and the hand-off to the ads tool — a sensible order. It is dense but nearly every clause carries information; the trailing "Read-only." is the one element that merely restates the readOnlyHint annotation.

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?

For a search tool with an output schema, an annotated safety profile, and fully documented parameters, the description covers everything an agent needs: what it returns at a high level (Page id, alias, category, verification, followers, Instagram handle), how to resolve ambiguity, and how to continue the workflow.

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; the description earns extra by explaining that the query maps to a Page identity and by ruling out websites as valid inputs, which meaningfully constrains how `query` should be formed. The `country` and `limit` parameters are left entirely to the schema, which is acceptable given full coverage.

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?

Opens with a specific verb and resource ("Find public Meta Ad Library advertisers") and immediately defines the entity: "On Meta an advertiser is a Facebook Page." It also names the downstream sibling meta_list_ad_library_ads, so an agent can place the tool in the workflow without opening a 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?

Gives explicit when-to-use (by brand, company, Page name, or Instagram handle), an explicit anti-pattern ("A website is not an advertiser selector here; search by the brand name instead"), and disambiguation procedure (show candidates and ask the user when several Pages are plausible). It also states the next step and the precondition that no connected Meta account is needed.

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