Skip to main content
Glama
Meta Ads MCP

Meta Ads MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_APP_IDNoID de l'app Meta
META_APP_SECRETNoSecret de l'app Meta
META_API_VERSIONNoVersion de la Graph API à cibler (défaut `v26.0`)v26.0
META_BUSINESS_IDNoID du Business Manager
META_ACCESS_TOKENYesToken long-lived ou System User par défaut
ACCOUNTS_CONFIG_PATHNoChemin vers le fichier de mapping multi-comptesaccounts.config.json
BUDGET_CHANGE_CONFIRMATION_THRESHOLD_PERCENTNoSeuil (%) au-delà duquel un changement de budget doit être confirmé explicitement avant exécution20

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_ad_accountsA

Lists the Meta ad accounts accessible with the resolved token (a specific client's token if client_id is given, otherwise the default META_ACCESS_TOKEN), including which Business Manager portfolio each belongs to, its currency and timezone.

get_campaignsB

Lists campaigns for an ad account, with status, objective and budget.

get_adsetsA

Lists ad sets, with a summary of budget, bidding, targeting, timestamps and learning phase (learning_phase.status: LEARNING/SUCCESS/FAIL, only populated while the ad set is actively delivering). Scope to a single campaign with campaign_id, or list all ad sets in an ad account.

get_adsA

Lists ads with their associated creative. Scope to a single ad set (adset_id), campaign (campaign_id), or list all ads in an ad account.

get_insightsA

Fetches performance metrics (impressions, reach, CTR, CPC, CPM, spend, ROAS, conversions, inline_link_clicks, cost_per_action_type) for an ad account, campaign, ad set or ad, with optional date range and breakdowns (age, gender, placement, device). Pass level: "ad" to also get Meta's relevance diagnostics (quality_ranking, engagement_rate_ranking, conversion_rate_ranking) — these return "UNKNOWN" below ~500 impressions.

get_creativesA

Fetches creative assets (image/video, copy, hook, CTA). Pass creative_id or ad_id for a single creative, or omit both to list all creatives in an ad account.

get_audience_estimateA

Estimates the reachable audience size for a given targeting spec (geo, age, gender, interests, custom/lookalike audiences, exclusions, ...) in an ad account, before creating a campaign.

update_campaign_statusA

Pauses, resumes (activates) or archives a campaign. Always previews the change first — call again with confirm: true to execute.

update_adset_budgetA

Adjusts an ad set's daily or lifetime budget (in the account's minor currency unit, e.g. cents). Always previews the change first, with the computed % delta — call again with confirm: true to execute.

update_adset_bidA

Adjusts an ad set's bid amount and/or bid strategy. Always previews the change first — call again with confirm: true to execute.

create_campaignA

Creates a new campaign. Always created in PAUSED status — this is non-negotiable, the tool never accepts or produces an ACTIVE campaign on creation. Always previews first — call again with confirm: true to execute.

duplicate_campaignA

Duplicates a campaign (and, with deep_copy, its ad sets and ads) for A/B testing. The copy is always created PAUSED regardless of the source campaign's status. Always previews first — call again with confirm: true to execute.

duplicate_adsetA

Duplicates an ad set (and, with deep_copy, its ads) for A/B testing, optionally into a different campaign. The copy is always created PAUSED regardless of the source ad set's status. Always previews first — call again with confirm: true to execute.

update_targeting_exclusionsA

Manages exclusion audiences on an ad set: excluded custom/lookalike audiences, excluded geo locations, and excluded interests/behaviors. Merges into the ad set's existing targeting. Always previews the change first — call again with confirm: true to execute.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 14 tools

Disambiguation4/5

The tools map cleanly onto distinct Meta entities (accounts, campaigns, adsets, ads, creatives, insights) and distinct write actions (status, budget, bid, targeting, duplication). The only mild overlap is get_creatives versus get_ads, since ads already include their creative, but the descriptions make the boundary reasonably clear.

Naming Consistency4/5

Names consistently use snake_case verb_noun form (get_*, update_*, create_*, duplicate_*, list_*). The minor deviation is that listing is expressed as both list_ (list_ad_accounts) and get_ (get_campaigns, get_adsets, get_ads, get_creatives), which is slightly inconsistent but still readable.

Tool Count5/5

14 tools is well within the ideal range and each one covers a distinct read, write or duplication operation. No tool appears redundant or filler.

Completeness3/5

Read coverage and campaign/adset-level mutation are solid, but the write surface has notable gaps: you can create and duplicate campaigns but not create ad sets or ads, and pause/resume only exists for campaigns, not ad sets or ads. There is also no delete/archive path for ad sets or ads, which will block common management workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues