Skip to main content
Glama

Groundsocial

One ad from the Meta Ad Library

facebook_ads_get
Read-onlyIdempotent

One Meta Ad Library ad with its details panel (EU reach by age and gender, payer, beneficiary).

One ad by its Ad Library id or URL (facebook.com/ads/library/?id=…): the ad as search shows it, plus ad_details, the library’s “See ad details” panel: advertiser page info, EU/UK transparency (target ages, gender and locations, total reach, reach by country, age band and gender), payer and beneficiary. country scopes the panel (default ALL). Ad ids of finished campaigns can disappear from the library: target_not_found.

Cost: 2 credits 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": {
      "id": "<id>"
    },
    "name": "facebook_ads_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAd Library id, or its facebook.com/ads/library/?id=… URL.
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.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: 2 credits per call with automatic refund on failure, cost_credits and credits_remaining in results, and the target_not_found failure mode. It also enumerates what the details panel contains (EU/UK reach by age, gender and country, payer, beneficiary), which the annotations cannot convey.

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?

Front-loaded with the core purpose, then detail panels, inputs, cost and failure mode in a sensible order. There is mild redundancy between the title line and 'One ad by its Ad Library id or URL' plus a long parenthetical enumeration of reach fields, but nothing is unnecessary enough to be cut entirely.

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?

Covers everything an agent needs for a 2-parameter read tool with no output schema: input formats, default country behavior, cost model and refunds, result fields, and the primary error case. Nothing material is missing.

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 would be 3, but the description adds meaning: the id may be a raw numeric id or a full library URL, and country is described as scoping the details panel specifically (not filtering the ad), with ALL as the default. That effect-on-output detail is not in 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 and resource up front: retrieve one Meta Ad Library ad by id or URL, plus its 'See ad details' panel. It clearly delineates the single-ad scope versus the search result view ('the ad as search shows it'), so an agent can distinguish it from facebook_ads_search 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 Guidelines4/5

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

Explains exactly how to invoke it (Ad Library id, or the facebook.com/ads/library/?id=… URL) and what country does (scopes the details panel, default ALL). It also warns that ids of finished campaigns can disappear with target_not_found, which is real usage context. It does not explicitly name alternative siblings (e.g. advertiser-level or search tools) or state when not to use this one, 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.