Skip to main content
Glama
proxy-intell

Facebook Ads Library MCP Server

analyze_ad_videos_batch

Read-only

Batch analyze multiple Facebook ad videos in one API call using Gemini's video understanding. Reduce token costs with intelligent caching and shared prompt optimization.

Instructions

REQUIRED for batch analyzing multiple video ads from Facebook for maximum token efficiency. Download and analyze multiple ad videos using Gemini's advanced video understanding in a single API call. This significantly reduces token costs compared to individual video analysis. Uses intelligent caching and includes comprehensive batch video analysis with shared prompt optimization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idsNo
media_urlsYes
brand_namesNo
Behavior3/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, covering the safety profile. The description adds useful context about 'intelligent caching' and 'shared prompt optimization,' but does not disclose potential limitations like rate limits, video size caps, or failure behavior for a batch operation.

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

Conciseness3/5

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

The description is around 40 words across four sentences, which is acceptable, but it redundantly mentions token efficiency twice ('maximum token efficiency' and 'reduces token costs') and includes vague filler like 'comprehensive batch video analysis.' It is front-loaded with 'REQUIRED' but could be tighter.

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

Completeness2/5

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

With no output schema and only 0% schema coverage, the description should explain what the batch analysis returns (e.g., per-ad results, aggregated summary) and any input constraints (e.g., URL count, formats, auth). It only provides high-level intent and benefits, leaving critical gaps for a batch processing tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate by explaining parameters. It only alludes to media_urls via 'video ads' and completely omits ad_ids and brand_names. It does not clarify the role of optional parameters or how they affect batch output, leaving the agent under-informed.

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?

The description clearly states the tool is 'REQUIRED for batch analyzing multiple video ads from Facebook' and details its function: 'Download and analyze multiple ad videos using Gemini's advanced video understanding in a single API call.' This distinct verb+resource specification and emphasis on batch processing cleanly separates it from the sibling analyze_ad_video.

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?

It explicitly positions the tool as the required choice for batch analysis and highlights 'significantly reduces token costs compared to individual video analysis.' This gives a clear when-to-use signal, but it does not explicitly name the sibling analyze_ad_video or state scenarios where individual analysis would be preferable, leaving a small gap.

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/proxy-intell/facebook-ads-library-mcp'

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