Skip to main content
Glama

meta_ads_videos_upload_file

Upload a local video file to your Meta Ads account library and receive a video_id for use in ad creative construction. Meta processes the video asynchronously; allow time before attaching to ads.

Instructions

Uploads a video from a local file path to the Meta Ads account library. Returns the video_id to reference in creative-construction tools. Mutating. Meta processes the video asynchronously after upload — allow a few minutes before attaching the video to ads. For uploads from public URLs use meta_ads_videos_upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
file_pathYesPath to the video file on the agent's filesystem. Supported formats: MP4, MOV. Recommended max 4 GB.
titleNoOptional title stored with the uploaded video. Used for library organization; not shown in ads.
Behavior4/5

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

With no annotations, the description discloses mutation ('Mutating'), async behavior, and that the title is optional and for library organization. It could further clarify error handling (e.g., file not found) but provides sufficient behavioral context.

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?

Very concise: four short sentences total, front-loaded with purpose, no redundant information. Every sentence adds value.

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 file upload tool with 3 parameters and no output schema, the description covers purpose, usage alternative, async nature, and key return value. Lacks error handling details but is largely complete.

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% but description adds meaning: account_id fallback to env var, file_path format and size limits, title's non-ad usage. This goes beyond the schema, improving agent understanding.

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 the verb 'uploads', the resource 'video from a local file path to the Meta Ads account library', and the result 'returns the video_id'. It also distinguishes from sibling tool meta_ads_videos_upload by specifying the upload source (local file vs URL).

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 tells when to use the sibling tool ('For uploads from public URLs use meta_ads_videos_upload') and notes asynchronous processing ('allow a few minutes before attaching'). However, it does not mention prerequisites like file access permissions or account setup.

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/logly/mureo'

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