Skip to main content
Glama
hashcott

Meta Ads MCP Server

by hashcott

List Meta Ad Accounts

meta_ads_list_ad_accounts
Read-onlyIdempotent

List all Facebook ad accounts you have access to, returning their names and IDs.

Instructions

List all ad accounts associated with the authenticated Facebook user.

Returns account names and IDs. When the response contains a paging.next URL, use meta_ads_fetch_pagination_url to retrieve additional pages.

Returns: Object with adaccounts.data array, each containing:

  • id (string): Ad account ID prefixed with 'act_' (e.g., 'act_1234567890')

  • name (string): Display name of the ad account

Examples:

  • Use when: "Show me all my ad accounts"

  • Use when: "What ad accounts do I have access to?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Latest Blog Posts

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/hashcott/meta-ads-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server