Skip to main content
Glama

Groundsocial

Find advertisers in the Meta Ad Library

facebook_ads_search_advertisers
Read-onlyIdempotent

Find advertisers (Facebook Pages) in the Meta Ad Library by name.

Pages that advertise, matching a name, as the Ad Library’s search box suggests them (up to ~10): page_id, name, page_alias, category, likes, verification, Instagram username and followers. Use the page_id with facebook_ads_company or facebook_ads_advertiser. keyword_results are keyword suggestions for facebook_ads_search.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "q": "<q>"
    },
    "name": "facebook_ads_search_advertisers"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesAdvertiser name.
countryNoISO 3166-1 alpha-2 country the ads reached (US, GB, DE…), or ALL (default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds genuinely new behavior: 1 credit per call, automatic refund on failure, public data only, a soft cap of ~10 suggestions, and that responses carry cost_credits and credits_remaining. This is exactly the cost and scope context an agent needs before spending credits.

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 return fields are front-loaded, followed by downstream routing and cost. Three short paragraphs, all earning their place, though the bare clause 'keyword_results are keyword suggestions for facebook_ads_search' is terser than the surrounding prose and could be folded into the return-fields sentence.

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?

With no output schema, the description carries the return-value burden and does so by enumerating returned fields (page_id, name, page_alias, category, likes, verification, Instagram data), plus cost and result cap. Minor gap: what happens when no pages match is unstated.

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%, including the country enum-style guidance ('ALL (default)'), so the schema carries the parameter semantics. The description only implies name-based matching and says nothing extra about country filtering or format, so the 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 specific verb and resource: 'Find advertisers (Facebook Pages) in the Meta Ad Library by name', and clarifies the resource by parenthetical equivalence. It also distinguishes itself from siblings by naming facebook_ads_company, facebook_ads_advertiser and facebook_ads_search as downstream consumers rather than replacements.

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?

The description gives clear forward routing: use the returned page_id with facebook_ads_company or facebook_ads_advertiser, and keyword_results feed facebook_ads_search. It does not state when to prefer this over alternatives such as googleads_advertisers_search or name explicit exclusions, so it stops short of a 5.

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.