Skip to main content
Glama

get_ad_video

Retrieve the direct download URL, thumbnail, and metadata for a Meta ad video using the ad ID or video ID.

Instructions

Get video details and source URL for a Meta ad video creative. Returns the video source URL
(direct download link), thumbnail URL, and metadata (title, description, duration).

Provide either ad_id (to auto-extract the video from the ad creative) or video_id directly.
Providing account_id is strongly recommended — it enables the advideos edge which works
with Business Manager tokens (avoids error 100/33 and error #10 on account-uploaded videos).

Args:
    ad_id: Meta Ads ad ID (will extract video_id from the ad creative)
    video_id: Meta video ID (use this if you already have it from get_ad_creatives)
    account_id: Ad account ID (e.g. "act_123" or "123"). Enables advideos edge lookup.
    access_token: Meta API access token (optional - will use cached token if not provided)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idNo
video_idNo
account_idNo
access_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses return values, token behavior (optional, uses cached), and edge cases (errors when account_id missing). No contradictions with annotations (none present). Could mention rate limits or data freshness, but overall good.

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?

Description is longer but well-organized: main purpose, return values, parameter guidance, and token note. Could combine the token note with parameter list, but no fluff. Front-loaded with key purpose.

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?

Despite not seeing output schema, description covers return values (URL, thumbnail, metadata). Handles parameter interactions and token behavior. For a tool with 4 params (none required) and no required auth noted, this is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage 0%, description fully compensates. Explains ad_id purpose (auto-extract), video_id usage (direct from get_ad_creatives), account_id benefit (acts as relevant for token scope), and access_token optionality. Adds significant meaning beyond bare schema properties.

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?

Clear verb+resource: 'Get video details and source URL for a Meta ad video creative.' Specifically states what it returns (source URL, thumbnail, metadata). Distinguishes from siblings by referencing get_ad_creatives and differentiating from get_ad_image.

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?

Explicitly explains when to use ad_id vs video_id vs account_id, with a strong recommendation for account_id to avoid errors. References get_ad_creatives as a source for video_id. Does not explicitly state when not to use this tool, but provides enough context for proper selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeboard-co/meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server