cleanup_media_cache
Cleans up old cached media files to free disk space
How to use it
cleanup_media_cache is exposed by the Facebook Ads Library MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the cleanup_media_cache tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL FACEBOOK ADS LIBRARY MCP LISTINGOther tools in Facebook Ads Library MCP (7)
Analyzes ad images for visual elements, text, colors, and composition
Analyzes single ad video using Gemini AI for comprehensive insights
NEW - Analyzes multiple videos in single API call for token efficiency
Gets statistics about cached media (images and videos) and storage usage
Retrieves ads for specific page(s) (platform ID)
Returns platform ID given one or many brand names
Searches previously analyzed media by brand, colors, people, or media type