Skip to main content
Glama
hashcott

Meta Ads MCP Server

by hashcott

Get Meta Ad Video

meta_ads_get_ad_video
Read-onlyIdempotent

Retrieve video details (source URL, thumbnail, title, duration) for a Meta ad by providing ad_id or video_id. Use act_id to avoid permission errors.

Instructions

Get video details (source URL, thumbnail, title, duration) for a Meta ad video. Provide either ad_id (server resolves the video_id from the ad's creative) or video_id directly. Pass act_id when available — the /act_X/advideos edge avoids permission errors (#10 / #33) that hit the bare /{video_id} node for BM-shared or page-owned videos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idNo
video_idNo
act_idNo
Behavior5/5

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

Annotations already mark readOnlyHint=true, etc. Description adds valuable behavioral context: how ad_id resolves to video_id via the creative, and that using act_id avoids permission errors #10/#33. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with return values, then usage notes. Every sentence earns its place; no redundancy or fluff.

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?

Given the tool's simplicity and rich annotations, the description covers purpose, parameters, usage behavior, and error avoidance. No output schema needed as return fields are listed.

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 has 0% description coverage, but description explains the meaning of each parameter: ad_id as alternative to video_id, and act_id to avoid errors. Fully compensates for lack of schema descriptions.

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?

Description clearly states 'Get video details (source URL, thumbnail, title, duration) for a Meta ad video', with specific verb and resource. No sibling tool retrieves video details, so it is well-distinguished.

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

Usage Guidelines5/5

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

Explicit guidance on when to use ad_id vs video_id, and recommends passing act_id to avoid permission errors. Provides actionable context for correct invocation.

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/hashcott/meta-ads-mcp-server'

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