Explore more than 100 million live and historical ads across major platforms for instant inspiration and competitive research.
What is Foreplay MCP?
The Foreplay MCP creates an AI-powered node that understands the Foreplay API. You describe what you need, the node calls the right endpoint, and returns structured data you can pass to the next steps in your Gumloop workflow.What Can It Do for You?
- Find brands by name or domain and return clean, structured profiles
- Discover and filter ads by text, platform, format, niche, market, language, and date ranges
- Retrieve ads for a specific brand or Facebook page with advanced filters
- Pull brand analytics like running ads distribution and creative velocity over time
Available Tools
Tool | What It Does | Example Use |
---|---|---|
Search Brands | Search for brands by domain name or brand name, with merged results and detailed brand fields | ”Search for brand matching brand name or domain and return structured data with brand id, brand name, domain, and associated platform pages” |
Search And Filter Ads | Search and filter ads by text content, date ranges, platforms, formats, niches, markets, and languages | ”Find ads containing search text on platform between start date and end date and return ad id, brand name, platform, created date, caption, and ad url” |
Get Ads By Brand Or Page | Get ads for a specific brand id or Facebook page id with advanced filtering options | ”Using brand id , get ads on platform between start date and end date and return ad id, platform, created date, and creative url” |
Get Brand Analytics | Retrieve analytics for brands, including running ads distribution and creative velocity over a date range | ”Using brand id , get analytics from start date to end date and return running ads distribution by platform and creative velocity” |
Get Ad Details | Get comprehensive details for specific ads including metadata, creative content, targeting info, and performance data | ”Using ad id , return structured data with ad text, creative type, media url, platform, start date, end date, and available performance metrics” |
Credit Costs
Tool | Credits Per Use |
---|---|
Search Brands | 3 per item |
Search And Filter Ads | 3 per item |
Get Ads By Brand Or Page | 3 per item |
Get Brand Analytics | 5 per item |
Get Ad Details | 5 per item |
How to Use
1
Create Your Foreplay MCP Node
Go to your node library, search for Foreplay, and click “Create a node with AI”
2
Add Your Prompt
Drag the Foreplay MCP node to your canvas and add your prompt in the text box.
3
Test Your Node
Run the node to see the results. If it works as expected, you’re all set! If you run into issues, check the troubleshooting tips below.
4
Save and Reuse
Once your Foreplay MCP node is working, save it to your library. You can now use this customized node in any workflow.
Example Prompts
Here are some prompts that work well with Foreplay MCP: Brand Lookup:Start with one action per node. First get the brand id, then retrieve ads, then analyze with Ask AI. Focused nodes run faster, are easier to debug, and are perfect for reuse across multiple workflows.
Troubleshooting
If your Foreplay MCP node isn’t working as expected, try these best practices:Keep Prompts Simple and Specific
- Good: “Search for
brand name
and return id and domain” - Bad: “Search for
brand name
, get their top ads fromdate range
, analyze the best hook, and draft an email torecipient email
”
For better results, keep each node focused on a single action. You can chain multiple nodes to accomplish multi-step goals.
Match What Foreplay Can Do
- Good: “Find ads containing
search term
onplatform
betweenstart date
andend date
and return ad id and creative url” - Bad: “Download each ad video, trim it, add captions, and publish to social”
Foreplay MCP excels at ad discovery and analytics. For media processing, combine it with Run Code or Call API. To publish or message, connect Gmail Sender/Reader or Slack Message Sender/Reader.
Break Complex Tasks Into Steps
Attempting everything in one prompt can cause timeouts or partial results:1
Step 1: Find Brands
Search for brands matching
industry type
and return structured data with brand names and ids2
Step 2: Get Ads
Using
brand ids
and date range
, get ads on platform
and return ad ids, created dates, captions, and creative urls3
Step 3: Analyze Creative Themes
Using the ad data, summarize themes and patterns and return key takeaways and examples using Ask AI node
Connect these nodes sequentially in your workflow. The structured data from one step becomes the input for the next.
Focus on Data Retrieval
Foreplay MCP is ideal for gathering structured data. For analysis or content creation, pair it with other nodes. Example:- Good prompt: “Using
brand id
, get analytics fromstart date
toend date
and return running ads distribution and creative velocity” - Bad prompt: “Get analytics, write a full report with recommendations, and send it to
recipient email
”
Use Ask AI node for writing and analysis, then connect Gmail Sender/Reader or Slack Message Sender to share your results.
Troubleshooting Node Creation
Empty Outputs
Empty Outputs
If you’re seeing empty outputs in the node creation window (or if you’ve already created the node, hover over it and click “Edit”), use the chat interface to prompt the AI to add debug logs and verify the API response. Specifically mention that you received empty outputs.
Incorrect Results
Incorrect Results
In the node creation window (or if you’ve already created the node, hover over it and click “Edit”), use the chat interface to describe in detail what you expected versus what you received.
Errors
Errors
First click “Fix with Gummie”. If multiple attempts fail, simplify your prompt or contact support.
Iterate Using the Chat
Iterate Using the Chat
MCP node creation often requires a few tweaks. Use the chat interface in the node creation window to refine filters, output fields, or pagination. The AI will adjust the node based on your feedback.
Need More Help?
- Watch What are MCP Nodes video tutorial
- Check out MCP Best Practices in Gumloop University
- Join the Gumloop Community for support
- View the Foreplay MCP setup guide for Claude and Cursor
- Contact support at support@gumloop.com