Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

save_ad_image_locally

Download and save Meta ad images locally by providing an ad ID and optional directory. Retrieve the file path for offline access or analysis of ad creatives.

Instructions

Get, download, and save a Meta ad image locally, returning the file path. Args: access_token: Meta API access token (optional - will use cached token if not provided) ad_id: Meta Ads ad ID output_dir: Directory to save the image file (default: 'ad_images') Returns: The file path to the saved image, or an error message string.

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
ad_idNo
output_dirNoad_images

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "ad_id": { "default": null, "title": "Ad Id", "type": "string" }, "output_dir": { "default": "ad_images", "title": "Output Dir", "type": "string" } }, "title": "save_ad_image_locallyArguments", "type": "object" }

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