Skip to main content
Glama
pauloFroes

mcp-meta-marketing

by pauloFroes

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_ACCESS_TOKENYesAccess token for Meta Marketing API
META_AD_ACCOUNT_IDYesAd account ID (with or without 'act_' prefix)

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
get_account_insightsA

Get performance insights for the ad account. Optionally set level=campaign, adset, or ad to break down results. Use since/until for date ranges. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.

get_campaign_insightsA

Get performance insights for a specific campaign by ID. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.

get_adset_insightsA

Get performance insights for a specific ad set by ID. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.

get_ad_insightsA

Get performance insights for a specific ad by ID. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.

list_campaignsA

List campaigns in the ad account. Returns campaign name, status, objective, daily/lifetime budget, and bid strategy. Use effective_status to filter. Auto-paginates up to 10 pages.

list_adsetsA

List ad sets in the ad account. Optionally filter by campaign ID or effective status. Returns ad set name, status, targeting, budget, and schedule. Auto-paginates up to 10 pages.

list_adsA

List ads in the ad account. Optionally filter by ad set ID or effective status. Returns ad name, status, creative, and tracking info. Auto-paginates up to 10 pages.

get_ad_accountA

Get details of the ad account — name, status, currency, timezone, spend cap, balance, and business info.

create_campaignA

Create a new campaign. Requires name, objective, and status. Set special_ad_categories to [] if none apply. Budget can be set at campaign level (CBO) or at ad set level.

update_campaignA

Update an existing campaign. Send only the fields you want to change. Cannot change objective after creation.

delete_campaignA

Delete a campaign. This is irreversible. Consider using update_campaign with status=ARCHIVED instead.

create_adsetA

Create a new ad set within a campaign. Requires campaign_id, targeting, billing_event, optimization_goal, budget, and status. Targeting is a JSON string with age, gender, geo, interests, etc.

update_adsetA

Update an existing ad set. Send only the fields you want to change.

delete_adsetA

Delete an ad set. This is irreversible. Consider using update_adset with status=ARCHIVED instead.

create_adA

Create a new ad within an ad set. Requires adset_id and a creative_id (create the creative first with create_adcreative).

update_adA

Update an existing ad. Change name, status, or swap creative.

delete_adA

Delete an ad. This is irreversible. Consider using update_ad with status=ARCHIVED instead.

create_adcreativeA

Create an ad creative. The object_story_spec is a JSON string defining the creative content (image, video, or carousel with link_data or video_data). Requires a page_id.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 18 tools

Disambiguation5/5

Each tool targets a distinct resource and action, with clear separation between account, campaign, adset, ad, and creative operations. The four insights tools are differentiated by hierarchy level, and CRUD tools are resource-specific. No meaningful overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern: get_, list_, create_, update_, delete_. The pattern is predictable and uniform across resources.

Tool Count4/5

18 tools is on the higher side but justified by the complexity of the Meta marketing domain. Each tool covers a necessary operation for the hierarchy of account, campaign, adset, ad, and creative.

Completeness4/5

Core lifecycle (create/update/delete/list/insights) is well-covered for campaigns, adsets, and ads. Gaps include creative management (only create, no update/list/delete) and no single-resource getters, but these are minor workarounds.

Maintenance

ActivityInactive
ResponsivenessNo issues