Skip to main content
Glama
proxy-intell

Facebook Ads Library MCP Server

analyze_ad_image

Read-only

Analyze Facebook ad images to extract visual elements, text, colors, people, brand elements, and composition details. Use for every ad image to gain comprehensive competitive insight.

Instructions

REQUIRED for analyzing images from Facebook ads. Download and analyze ad images to extract visual elements, text content, colors, people, brand elements, and composition details. This tool should be used for EVERY image URL returned by get_meta_ads when doing comprehensive analysis. Uses intelligent caching so multiple image analysis calls are efficient and cost-free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idNo
brand_nameNo
media_urlsYes
Behavior4/5

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

Annotations already mark this as read-only (readOnlyHint=true) and open-world (openWorldHint=true). The description adds the behavioral insight of intelligent caching, which makes repeated calls efficient and cost-free. It does not contradict the annotations and provides useful operational 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?

The description is three sentences long, front-loaded with 'REQUIRED' and the core purpose. Every sentence adds value: purpose, usage context, and caching benefit. There is no fluff or repetition.

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

Completeness3/5

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

The description gives strong usage context and lists what elements will be extracted, partially covering return value expectations. However, it omits parameter explanations and does not describe the output format or error handling. For a tool with no output schema and zero param documentation, this leaves meaningful gaps.

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. It mentions 'every image URL' which maps to the media_urls parameter, but it does not explain the purpose of ad_id or brand_name, nor the string-or-array flexibility of media_urls. Only minimal parameter insight is provided.

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's purpose: analyzing images from Facebook ads. It specifies the action (download and analyze), the resource (ad images), and the extracted elements (visual elements, text, colors, people, brand, composition), distinguishing it from the video-analyzing sibling tool.

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 usage guidance is provided: it is REQUIRED for every image URL from get_meta_ads during comprehensive analysis. This names the specific source tool and implies the alternative (analyze_ad_video) for video URLs, making the when-to-use decision clear.

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