Skip to main content
Glama
Telegram Ads MCP

Telegram Ads MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TG_ADS_MODENoEither read-only or write. Write tools are blocked unless this is write.read-only
TG_ADS_TOKENNoAlias for TELEGRAM_ADS_TOKEN.
TG_ADS_MAX_CPMNoMaximum CPM accepted by the server, in account currency. No cap by default.
TG_ADS_BASE_URLNoOverride only for testing. The token is sent to this URL. Defaults to the official API.
TG_ADS_AUDIT_LOGNoPath to a JSONL audit log. Disabled by default. Parent directories are created.
TG_ADS_CODE_MODENoControls tg_execute. Allowed values: off, read-only, or write.read-only
TG_ADS_TIMEOUT_MSNoPer-request timeout in milliseconds.30000
TELEGRAM_ADS_TOKENNoTelegram Ads API token from https://ads.telegram.org/account/api. Required unless TG_ADS_TOKEN is provided.
TG_ADS_MAX_AD_BUDGETNoMaximum ad budget or budget transfer per call. No cap by default.
TG_ADS_ALLOWED_ACCOUNTSNoComma-separated allowlist for explicit account_id values. Defaults to all accounts.
TG_ADS_MAX_DAILY_BUDGETNoMaximum daily budget limit per call. No cap by default.

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