Skip to main content
Glama

AdAdvisor MCP Server

Server Details

Query Meta Ads performance data — accounts, campaigns, ad sets, ads, metrics & settings.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

5 tools
get_entity_detailsTry in Inspector

Get configuration and settings for a single campaign, ad set, or ad. Returns objective, bid strategy, budget, targeting, and creative info.

ParametersJSON Schema
NameRequiredDescriptionDefault
entity_idYesThe entity ID (from get_performance or list_entities results)
account_idYesMeta ad account ID (numeric, from list_ad_accounts)
entity_typeYesType of entity
get_performanceTry in Inspector

Retrieve aggregated performance metrics (spend, revenue, ROAS, CPA, etc.) for campaigns, ad sets, or ads in a Meta ad account over a date range.

ParametersJSON Schema
NameRequiredDescriptionDefault
levelYesHierarchy level to retrieve
date_toNoEnd date (YYYY-MM-DD). Defaults to yesterday.
adset_idNoFilter ads to this ad set. Only used when level is ad.
date_fromNoStart date (YYYY-MM-DD). Defaults to 45 days ago.
account_idYesMeta ad account ID (numeric, from list_ad_accounts)
campaign_idNoFilter ad sets or ads to this campaign. Ignored when level is campaign.
get_timeseriesTry in Inspector

Get daily time-series metrics for a single campaign, ad set, or ad. Returns one row per day with spend, revenue, ROAS, and efficiency KPIs.

ParametersJSON Schema
NameRequiredDescriptionDefault
end_dateNoEnd date (YYYY-MM-DD). Defaults to yesterday.
entity_idYesThe specific campaign, adset, or ad ID (from get_performance or list_entities). Must NOT be the account ID.
account_idYesMeta ad account ID (numeric, from list_ad_accounts)
start_dateNoStart date (YYYY-MM-DD). Defaults to 45 days ago.
entity_typeYesMust be 'campaign', 'adset', or 'ad'. Account-level is NOT supported.
list_ad_accountsTry in Inspector

List all ad accounts the authenticated user has access to. Returns each account's name, numeric ID, platform type, business name, currency, and data_synced status. Use the ad_account_id from the results when calling other tools.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

list_entitiesTry in Inspector

List campaigns, ad sets, or ads in a Meta ad account with their names, IDs, and statuses.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by effective status (e.g. ACTIVE, PAUSED). Defaults to all statuses.
adset_idNoFilter ads to this ad set. Only used when entity_type is ad.
account_idYesMeta ad account ID (numeric, from list_ad_accounts)
campaign_idNoFilter ad sets or ads to this campaign. Only used when entity_type is adset or ad.
entity_typeYesType of entity to list

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.