Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

search

Retrieve Meta Ads record IDs by querying ad accounts, campaigns, ads, pages, and businesses. Facilitates integration with OpenAI ChatGPT for deep research and data analysis.

Instructions

Search through Meta Ads data and return matching record IDs. This tool is required for OpenAI ChatGPT Deep Research integration. It searches across ad accounts, campaigns, ads, pages, and businesses to find relevant records based on the provided query. Args: access_token: Meta API access token (optional - will use cached token if not provided) query: Search query string to find relevant Meta Ads records Returns: JSON response with list of matching record IDs Example Usage: search(query="active campaigns") search(query="account spending") search(query="facebook ads performance") search(query="facebook pages") search(query="user businesses")

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
queryNo

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "query": { "default": null, "title": "Query", "type": "string" } }, "title": "searchArguments", "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