Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_API_VERSIONNoMeta Graph / Marketing API version.v22.0
META_ACCESS_TOKENNoMeta System User or User Access Token (`ads_read`, `ads_management`, `business_management`, `pages_read_engagement`). Required for live mode.
META_API_BASE_URLNoOverride Graph API base URL (proxies / testing).https://graph.facebook.com
META_ADS_DEMO_MODENoSet `true` to run with mock datasets without a Meta token.false
META_AD_ACCOUNT_IDNoDefault Ad Account ID (with or without `act_` prefix).
META_API_TIMEOUT_MSNoHTTP timeout per request in milliseconds.30000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
meta_check_authA

Verify Meta Marketing API access token, granted permissions, API version, default ad account, and rate limit telemetry.

meta_list_ad_accountsB

List all Meta Ad Accounts accessible to the configured token, including currency, status, timezone, spend cap, and business owner.

meta_get_ad_accountA

Fetch detailed metadata, spend caps, balance, and funding status for a specific Meta Ad Account.

meta_list_pagesA

List Facebook Pages (and linked Instagram Business Accounts) accessible to the token for creating ad creatives.

meta_list_campaignsB

List campaigns in an ad account with optional effective_status filter and pagination.

meta_get_campaignA

Retrieve full configuration and budget details for a single Meta campaign by ID.

meta_create_campaignA

Create a new Meta Ads ODAX campaign. Defaults to PAUSED for spend safety. Supports dry_run=true to preview the API payload without creating a live campaign.

meta_update_campaignB

Update an existing campaign's name, status (ACTIVE/PAUSED/ARCHIVED), budget, or bid strategy. Supports dry_run=true.

meta_list_adsetsB

List ad sets for an ad account or a specific campaign.

meta_get_adsetA

Get full details for a single ad set including targeting spec, optimization goal, schedule, and budget.

meta_create_adsetB

Create an ad set inside a campaign. Defaults to PAUSED for safety and supports dry_run=true.

meta_update_adsetB

Update an ad set's name, status, daily/lifetime budget, bid_amount, end_time, or targeting spec. Supports dry_run=true.

meta_search_targetingA

Search Meta's targeting taxonomy for interests, geos, job titles, employers, or locales.

meta_estimate_reachB

Estimate potential audience size for a given Meta targeting specification before launching an ad set.

meta_list_adsB

List ads across an ad account, a specific campaign, or a specific ad set.

meta_get_adB

Get full details and creative metadata for a specific ad ID.

meta_create_ad_creativeC

Create a Meta link/image ad creative using object_story_spec. Supports dry_run=true.

meta_create_adA

Create an ad inside an ad set referencing an existing creative ID. Defaults to PAUSED and supports dry_run=true.

meta_update_adB

Update an existing ad's name, status (ACTIVE/PAUSED/ARCHIVED), or creative_id. Supports dry_run=true.

meta_list_ad_imagesB

List uploaded ad images and their hashes for an ad account.

meta_get_insightsC

Fetch Meta Ads performance insights at account, campaign, adset, or ad level with optional breakdowns, attribution windows, and automatic blended ROAS/CPA/CTR summary.

meta_audit_account_performanceB

Run an automated performance audit on a Meta Ad Account: computes blended ROAS/CPA/CTR/CPM, flags creative fatigue (high frequency), zero-conversion spend bleed, low-CTR ads, and scaling winners.

meta_list_custom_audiencesC

List custom audiences and lookalike audiences for an ad account.

meta_list_pixelsB

List Meta Pixels (Datasets) attached to an ad account for conversion tracking.

Prompts

Interactive templates invoked by user choice

NameDescription
audit-ad-accountRun a full Meta Ads account health & ROAS optimization audit.
draft-campaign-planDraft a safe, dry-run Meta Ads campaign structure before publishing.

Resources

Contextual data attached and managed by the client

NameDescription
config-statusCurrent Meta Ads MCP configuration status (non-secret) and rate-limit snapshot.
odax-objectivesReference table of Meta ODAX campaign objectives and matching optimization goals.

TDQS

B3.4/5.0

Scored across 24 tools

Disambiguation4/5

Most tools have a clearly distinct resource and action, with strong separation between campaign, ad set, ad, creative, targeting, and insights operations. Minor overlap exists between meta_get_insights and meta_audit_account_performance, and between meta_create_ad_creative and meta_create_ad, but descriptions make the boundaries workable.

Naming Consistency5/5

All tools consistently use a meta_ prefix followed by a verb_noun pattern such as list_campaigns, get_ad, create_adset, update_campaign, and search_targeting. The convention is predictable throughout, with only natural variations like check_auth and audit_account_performance.

Tool Count4/5

Twenty-four tools is on the heavy side, but the breadth of Meta Ads management justifies separate operations for accounts, campaigns, ad sets, ads, creatives, targeting, insights, and auditing. Each tool maps to a meaningful API operation, though some auxiliary listing tools could potentially be consolidated.

Completeness4/5

The core lifecycle from account discovery through campaign, ad set, ad, creative, targeting, and performance insights is well covered. Gaps remain around explicit delete operations, creative retrieval/update beyond image listing, and creation of custom audiences or pixels, though archiving via status updates mitigates some of this.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues