Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

get_ad_accounts

Retrieve ad accounts accessible by a Meta user, specifying access token, user ID, and account limit, for managing advertising campaigns on Facebook and Instagram.

Instructions

Get ad accounts accessible by a user. Args: access_token: Meta API access token (optional - will use cached token if not provided) user_id: Meta user ID or "me" for the current user limit: Maximum number of accounts to return (default: 200)

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
limitNo
user_idNome

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "limit": { "default": 200, "title": "Limit", "type": "integer" }, "user_id": { "default": "me", "title": "User Id", "type": "string" } }, "title": "get_ad_accountsArguments", "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