Skip to main content
Glama
Ads MCP for Snapchat

Ads MCP for Snapchat

by Usame794

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SNAP_MAX_BIDNoHighest max bid.50
SNAP_ENV_FILENoPath to an alternate settings file, for example .env.account2 for a second ad account. Defaults to the server's .env.
SNAP_PIXEL_IDNoPixel ID used for pixel-related tools and audiences.
SNAP_CLIENT_IDYesClient ID of the Snapchat OAuth app created in Business Details > OAuth Apps.
SNAP_READ_ONLYNoSet to 1 for previews and reads only.0
SNAP_REDIRECT_URIYesRedirect URI of the Snapchat OAuth app, for example https://127.0.0.1/callback.
SNAP_AD_ACCOUNT_IDYesSnapchat ad account ID the server is allowed to read and change.
SNAP_CLIENT_SECRETYesClient Secret of the Snapchat OAuth app. The secret is shown only once.
SNAP_REFRESH_TOKENYesOAuth refresh token saved by the setup/get-refresh-token flow.
SNAP_HUMAN_APPROVALNoSet to elicit to ask the user through the MCP client before every write.off
SNAP_DEFAULT_COUNTRYNo2-letter country used when a tool is called without countries. If not set, countries must always be given.
SNAP_HTTP_TIMEOUT_MSNoDeadline for each API request in milliseconds.60000
SNAP_ACCOUNT_CURRENCYNoIf set, for example USD, writes are refused unless the ad account uses that currency.
SNAP_BRAND_PROFILE_IDNoBrand profile ID used for influencer ad creatives.
SNAP_MAX_DAILY_BUDGETNoHighest daily budget any single campaign or ad squad may be given or enabled with.1000
SNAP_MIN_DAILY_BUDGETNoLowest daily budget.5
SNAP_REPORT_UTC_OFFSETNoUTC offset for weekly-report and smoke day boundaries, for example +03:00.+00:00
SNAP_DEFAULT_PHONE_CODENoCountry code, digits with no plus, for local phone numbers in customer lists. If not set, local numbers are counted as invalid.
SNAP_MAX_LIFETIME_BUDGETNoHighest lifetime budget a copy may carry or an enable may start.30 x max daily
SNAP_APPROVAL_TTL_SECONDSNoLifetime of an approval token in seconds.600
SNAP_MAX_BID_INCREASE_PCTNoLargest bid increase per step and per 24 hours.50
SNAP_REPEAT_WINDOW_SECONDSNoAn identical create, copy, claim, or upload is refused within this time.600
SNAP_MAX_BUDGET_INCREASE_PCTNoLargest budget increase per step and per 24 hours.100
SNAP_MAX_ADDED_DAILY_BUDGET_24HNoMost daily budget this server may add to the account in any 24 hours across all tools.2 x SNAP_MAX_ACTIVATION_DAILY_BUDGET
SNAP_MAX_ACTIVATION_DAILY_BUDGETNoMost daily budget one call may start through enable, undo of a pause, or a schedule change that starts delivery.5 x max daily

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources