Skip to main content
Glama
jmacaggi-gfm

ads-mcp-server

by jmacaggi-gfm

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_APP_IDNoMeta App ID
META_APP_SECRETNoMeta App Secret
ADS_MCP_ENV_FILENoPath to an existing .env file containing all credentials
META_ACCESS_TOKENNoMeta Access Token (long-lived, with ads_read)
META_AD_ACCOUNT_IDNoMeta Ad Account ID (format: act_XXXXXXXXX)
GOOGLE_ADS_CLIENT_IDNoGoogle Ads Client ID
GOOGLE_ADS_CUSTOMER_IDSNoComma-separated customer IDs (no dashes)
GOOGLE_ADS_CLIENT_SECRETNoGoogle Ads Client Secret
GOOGLE_ADS_REFRESH_TOKENNoGoogle Ads Refresh Token
GOOGLE_ADS_DEVELOPER_TOKENNoGoogle Ads Developer Token
GOOGLE_ADS_LOGIN_CUSTOMER_IDNoMCC manager account ID (no dashes)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_google_ads_reportA

Pull Google Ads performance. Returns account totals, campaign-type breakdown, top-50 per-ad rows with diagnosis, 56-day daily series, and WoW + 8-week DoW comparisons. Set include_campaign_settings=True to also return per-campaign settings (target CPA, daily budget, diagnosis, utilization) for ENABLED campaigns only.

get_meta_ads_reportB

Pull Meta Ads performance. Same shape as get_google_ads_report. Conversions filtered to META_CONVERSION_EVENT_NAME.

get_campaign_settingsC

Current campaign settings + 56-day change history per platform.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/jmacaggi-gfm/ads-mcp-server'

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