Skip to main content
Glama
AdGurus

Google Tag Manager MCP

by AdGurus

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GTM_AUTH_MODENoAuthentication mode. One of 'auto' (default), 'user', 'service-account', or 'adc'.
GTM_DEBUG_DB_PATHNoPath to the debug SQLite database. Defaults to debug.db in the project root.
GTM_OAUTH_TOKEN_FILENoAbsolute path to the OAuth token file. Required for user authentication after the first authorization.
GTM_QUOTA_STATE_FILENoPath to the quota state JSON file. Defaults to ~/.config/gtm-mcp/quota-state.json.
GTM_DEBUG_LOG_ENABLEDNoEnable SQLite debug logging.
GTM_QUOTA_MAX_RETRIESNoMaximum number of retries for quota errors. Defaults to 3.
GTM_DAILY_REQUEST_BUDGETNoPersistent daily request budget. Defaults to 9000.
GTM_DEBUG_RETENTION_DAYSNoNumber of days to retain debug log rows. Defaults to 30.
GTM_OAUTH_CLIENT_SECRETSNoAbsolute path to the OAuth client secrets JSON file. Needed for initial user authorization or if the saved grant is removed or revoked.
GTM_SERVICE_ACCOUNT_FILENoAbsolute path to the service account JSON file. Used for service-account authentication.
GTM_SERVICE_ACCOUNT_JSONNoService account JSON content as a string. Used for service-account authentication when injecting secrets via environment.
GTM_QUOTA_BACKOFF_SECONDSNoBase backoff seconds for quota retries. Defaults to exponential backoff with jitter.
GTM_DEBUG_MAX_PAYLOAD_BYTESNoMaximum bytes per payload field in debug log. Defaults to 262144 (256 KiB).
GOOGLE_APPLICATION_CREDENTIALSNoAbsolute path to a Google Cloud service account JSON file. Used for Application Default Credentials.
GTM_MIN_REQUEST_INTERVAL_SECONDSNoMinimum seconds between GTM API requests. Defaults to 4.1.

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