Skip to main content
Glama

SocialAPIs

Facebook: Ads Archive Details

facebook_ads_archive_details
Read-only

Get detailed info about a specific archived ad including creative, spend, and impressions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNoISO country code or "ALL"
page_idNoFacebook Page ID
ad_archive_idYesAd Archive ID
is_ad_non_politicalNoFilter non-political ads
is_ad_not_aaa_eligibleNoFilter AAA eligibility

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesJSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining).
creditsChargedNoCredits charged for this call, or null if the endpoint did not report it.
creditsRemainingNoCredits left on the API key after this call, or null if not reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the useful detail that creative, spend, and impressions are returned, but says nothing about auth requirements, rate limits, or data freshness beyond that.

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?

One efficient, front-loaded sentence with no wasted words. It could be slightly more helpful without sacrificing brevity, but it is well structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and annotations cover the read-only profile. However, for a tool centered on a required ad_archive_id, the description gives no hint about how to obtain that ID or how the optional filter parameters affect results, leaving a clear gap.

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 5 documented parameters, so the schema carries the burden. The description adds no parameter-level meaning beyond what the schema already states, which is the baseline expectation at full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Get detailed info') and resource ('a specific archived ad') plus the returned content areas (creative, spend, impressions). This clearly differentiates it from sibling search tools like facebook_ads_search, though it does not explicitly name an alternative.

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

Usage Guidelines2/5

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

No guidance on when to use this versus facebook_ads_search or facebook_ads_page_details. It implies 'look up one specific ad' by saying 'a specific archived ad', but never states prerequisites or the alternative path for finding an ad_archive_id in the first place.

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.