Skip to main content
Glama

Adbloop Meta Ads

get_ad_preview

Read-only

Get preview links showing exactly how an ad looks on Facebook Feed, Instagram Feed, Stories and Reels. Give an ad_id (e.g. from create_campaign) or a creative_id. Read-only. Pro.

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": {
      "meta_account_id": "<meta_account_id>"
    },
    "name": "get_ad_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNo
ad_formatsNoOptional; defaults to Facebook Feed, Instagram Feed and Instagram Story.
creative_idNo
meta_account_idYesREQUIRED — the ad account the ad belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description only needs added context. It contributes the plan-gating fact ('Pro') and the nature of the response (preview links per placement), neither of which appears in the annotations; it omits whether preview URLs expire or are cached.

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?

Three short sentences, front-loaded with the outcome before the input rules. The trailing 'Read-only. Pro.' fragments are efficient but slightly cryptic, and 'Read-only' merely restates the annotation.

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 4-parameter read tool with no output schema, the description covers purpose, inputs, and the plan requirement, leaving the account scoping and format defaults to the schema where they are documented. It does not address what happens if both ad_id and creative_id are supplied, a plausible agent question.

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?

With only 50% schema description coverage, the description compensates by establishing the either/or identifier semantics for ad_id vs creative_id, which the schema does not express via anyOf. It also names the placements in prose, though it does not map those names to the enum tokens (e.g. INSTAGRAM_REELS, FACEBOOK_REELS_MOBILE).

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 ('Get preview links') plus the exact output concept ('how an ad looks') across named placements. It is clearly distinguishable from siblings like list_ads or get_creative_library, which enumerate ads or creatives rather than render previews.

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?

Gives concrete usage context by naming acceptable input sources ('an ad_id (e.g. from create_campaign) or a creative_id'), which tells an agent when this tool applies after a create flow. It stops short of explicit when-not-to-use guidance or naming a sibling alternative for the non-preview case.

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