Skip to content

Connectors · Marketing & media

Google Tag Manager MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Google Tag Manager and the rest of your systems. It gives your agent 106 Google Tag Manager actions (39 reads, 52 writes and 15 that wait for a confirmation) and holds the Google Tag Manager credential itself, so the agent never does. It paces Google Tag Manager's limits and records every call. Connecting Google Tag Manager needs your own Google Tag Manager OAuth app and one admin sign-in.

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

claude mcp add --transport http actionlake https://connect.actionlake.com/mcp
the first call
do {  action: "google_tag_manager.accounts.list",  intent: "check which Google Tag Manager account is connected"}# Accounts: list · read · 1 upstream call
  • 106actionsin one signed file
  • 39readlook, never change
  • 52writecreate and update
  • 15wait for a yesdestructive, confirmed first

Set up

Connect Google Tag Manager in three steps.

  1. 01

    Add actionlake to Claude.

    Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.

    https://connect.actionlake.com/mcp
  2. 02

    Connect Google Tag Manager.

    OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Tag Manager, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on. actionlake stores what you paste write-only, sealed under your tenant's key.

    Before the first sign-in, Google Tag Manager needs an OAuth app of your own, registered in its developer portal. actionlake has no Google Tag Manager app to lend you.

    • access_tokenAccess token from one sign-in with your own OAuth app
    • refresh_tokenRefresh token from the same sign-in; the access token is renewed from it
    • client_idGoogle OAuth client id (Google Cloud console > APIs & Services > Credentials; enable the Tag Manager API on the project)
    • client_secretGoogle OAuth client secret
    account { op: "connections.requirements", service: "google_tag_manager" }
    # free: exactly what to paste, and what is found for you
  3. 03

    Make the first call. Check before a write.

    Ask in plain words; Claude picks the action. Before anything changes, check validates the call and prices it, for free.

    do    { action: "google_tag_manager.accounts.list" }# accounts: list · read · 1 upstream callcheck { action: "google_tag_manager.tags.create", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent

Google Tag Manager at a glance

Sign-in
OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Tag Manager, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on.
You provide
access_tokenrefresh_tokenclient_idclient_secret
Limits we pace to
5 calls a second, per connection
API covered
Tag Manager API v2 (Discovery revision 20261021)tagmanager.googleapis.com
Built from
Google Tag Manager's documentation, read 23 October 2026tagmanager.googleapis.comdevelopers.google.com
Service file
Version 1.0.0, signed (Ed25519)
Cached reads
39 of 39 reads, for up to 2 minutes; a write clears what it affects
Shared entities
3, so ask can line Google Tag Manager up with your other systems
Data
Processed and stored in Sydney, Australia. No US region yet

Capabilities

What an AI agent can do in Google Tag Manager.

106 actions in 18 areas. Every one carries its effect, so a key can allow the reads and hold the rest.

  • 39readlook, never change
  • 52writecreate and update
  • 15destructivewait for a confirmation
  1. Workspaces

    11

    3 read · 7 write · 1 destructive

    Workspaces: create · Workspaces: create version · Workspaces: list · Workspaces: quick preview

  2. Containers

    9

    4 read · 4 write · 1 destructive

    Containers: list · Containers: create · Containers: combine · Containers: get

  3. Folders

    8

    3 read · 4 write · 1 destructive

    Folders: create · Folders: entities · Folders: list · Folders: get

  4. Templates

    7

    2 read · 4 write · 1 destructive

    Templates: create · Templates: import from gallery · Templates: list · Templates: get

  5. Versions

    7

    2 read · 4 write · 1 destructive

    Versions: get · Versions: live · Versions: publish · Versions: set latest

  6. Clients

    6

    2 read · 3 write · 1 destructive

    Clients: create · Clients: list · Clients: get · Clients: revert

  7. Environments

    6

    2 read · 3 write · 1 destructive

    Environments: create · Environments: list · Environments: get · Environments: reauthorize

  8. Tags

    6

    2 read · 3 write · 1 destructive

    Tags: create · Tags: list · Tags: get · Tags: revert

10 more areas · 46 actions
  • Transformations 6
  • Triggers 6
  • Variables 6
  • Zones 6
  • Gtag config 5
  • User permissions 5
  • Built in variables 4
  • Accounts 3
  • Destinations 3
  • Version headers 2

Top actions

The Google Tag Manager API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems.

ActionWhat it doesEffectSame name in
google_tag_manager.accounts.listAccounts: listLists all GTM Accounts that a user has access to.readthis connector
google_tag_manager.containers.listContainers: listLists all Containers that belongs to a GTM Account.readthis connector
google_tag_manager.tags.listTags: listLists all GTM Tags of a Container.readthis connector
google_tag_manager.tags.createTags: createCreates a GTM Tag.writethis connector
google_tag_manager.triggers.listTriggers: listLists all GTM Triggers of a Container.readthis connector
google_tag_manager.variables.listVariables: listLists all GTM Variables of a Container.readthis connector
google_tag_manager.triggers.createTriggers: createCreates a GTM Trigger.writethis connector
google_tag_manager.workspaces.listWorkspaces: listLists all Workspaces that belong to a GTM Container.readthis connector
google_tag_manager.variables.createVariables: createCreates a GTM Variable.writethis connector
google_tag_manager.containers.createContainers: createCreates a Container.writethis connector
google_tag_manager.workspaces.createWorkspaces: createCreates a Workspace.writethis connector
google_tag_manager.tags.deleteTags: deleteDeletes a GTM Tag.destructivethis connector

Try it

Prompts to paste into Claude.

Each one names the Google Tag Manager actions it will call, so you know what it reads and what it changes before you send it.

  1. Readread

    Accounts: list in Google Tag Manager and tell me what stands out.

    callsgoogle_tag_manager.accounts.list

  2. Writewrite

    Tags: create in Google Tag Manager. Show me exactly what you will send before you save it.

    callsgoogle_tag_manager.tags.create

Governance for Google Tag Manager

Destructive actions wait for a yes.

15 Google Tag Manager actions are destructive. These are all of them:

  • Tags: deletegoogle_tag_manager.tags.delete
  • Triggers: deletegoogle_tag_manager.triggers.delete
  • Versions: deletegoogle_tag_manager.versions.delete
  • Variables: deletegoogle_tag_manager.variables.delete
  • Containers: deletegoogle_tag_manager.containers.delete
  • Workspaces: deletegoogle_tag_manager.workspaces.delete
  • Zones: deletegoogle_tag_manager.zones.delete
  • Clients: deletegoogle_tag_manager.clients.delete
  • Folders: deletegoogle_tag_manager.folders.delete
  • Templates: deletegoogle_tag_manager.templates.delete
  • Gtag config: deletegoogle_tag_manager.gtag_config.delete
  • Environments: deletegoogle_tag_manager.environments.delete
  • Transformations: deletegoogle_tag_manager.transformations.delete
  • User permissions: deletegoogle_tag_manager.user_permissions.delete
  • Built in variables: deletegoogle_tag_manager.built_in_variables.delete

A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

dogoogle_tag_manager.tags.deleteconfirm_policy: human

Tags: delete?

intent: the user asked me to tags: delete

run suspended · waiting for a named person · key google-tag-manager-agent cannot confirm itself
In the console, or from an emailed signed link.
a key for this connector
account {  op: "keys.create", name: "google-tag-manager-agent",  allowed_actions: ["google_tag_manager.*"], cap_calls: 2000,  confirm_policy: "human_for_writes",  approval_rules: [    { match: "google_tag_manager.tags.delete", approver: "[email protected]" },    { match: "google_tag_manager.triggers.delete", approver: "[email protected]" },    { match: "google_tag_manager.versions.delete", approver: "[email protected]" }  ]}
Illustrative. Scoped to Google Tag Manager only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

What Google Tag Manager costs on actionlake.

Every Google Tag Manager action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Google Tag Manager refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

  • 1upstream call per actionall 106 Google Tag Manager actions
  • 16actions pageeach page of a long list is one call
  • 39reads can be cacheda cache hit costs nothing
  • 100,000calls a month, freepaid plans from US$49 a month for 250,000

See pricing

Action index

Every Google Tag Manager action.

106 actions by area: the id your agent calls, what it does, and its effect.

Workspaces11
  • google_tag_manager.workspaces.bulk_updateWorkspaces: bulk updatewrite
  • google_tag_manager.workspaces.createWorkspaces: createwrite
  • google_tag_manager.workspaces.create_versionWorkspaces: create versionwrite
  • google_tag_manager.workspaces.deleteWorkspaces: deletedestructive
  • google_tag_manager.workspaces.getWorkspaces: getread
  • google_tag_manager.workspaces.get_statusWorkspaces: get statusread
  • google_tag_manager.workspaces.listWorkspaces: listread
  • google_tag_manager.workspaces.quick_previewWorkspaces: quick previewwrite
  • google_tag_manager.workspaces.resolve_conflictWorkspaces: resolve conflictwrite
  • google_tag_manager.workspaces.syncWorkspaces: syncwrite
  • google_tag_manager.workspaces.updateWorkspaces: updatewrite
Containers9
  • google_tag_manager.containers.combineContainers: combinewrite
  • google_tag_manager.containers.createContainers: createwrite
  • google_tag_manager.containers.deleteContainers: deletedestructive
  • google_tag_manager.containers.getContainers: getread
  • google_tag_manager.containers.listContainers: listread
  • google_tag_manager.containers.lookupContainers: lookupread
  • google_tag_manager.containers.move_tag_idContainers: move tag idwrite
  • google_tag_manager.containers.snippetContainers: snippetread
  • google_tag_manager.containers.updateContainers: updatewrite
Folders8
  • google_tag_manager.folders.createFolders: createwrite
  • google_tag_manager.folders.deleteFolders: deletedestructive
  • google_tag_manager.folders.entitiesFolders: entitiesread
  • google_tag_manager.folders.getFolders: getread
  • google_tag_manager.folders.listFolders: listread
  • google_tag_manager.folders.move_entities_to_folderFolders: move entities to folderwrite
  • google_tag_manager.folders.revertFolders: revertwrite
  • google_tag_manager.folders.updateFolders: updatewrite
Templates7
  • google_tag_manager.templates.createTemplates: createwrite
  • google_tag_manager.templates.deleteTemplates: deletedestructive
  • google_tag_manager.templates.getTemplates: getread
  • google_tag_manager.templates.import_from_galleryTemplates: import from gallerywrite
  • google_tag_manager.templates.listTemplates: listread
  • google_tag_manager.templates.revertTemplates: revertwrite
  • google_tag_manager.templates.updateTemplates: updatewrite
Versions7
  • google_tag_manager.versions.deleteVersions: deletedestructive
  • google_tag_manager.versions.getVersions: getread
  • google_tag_manager.versions.liveVersions: liveread
  • google_tag_manager.versions.publishVersions: publishwrite
  • google_tag_manager.versions.set_latestVersions: set latestwrite
  • google_tag_manager.versions.undeleteVersions: undeletewrite
  • google_tag_manager.versions.updateVersions: updatewrite
Clients6
  • google_tag_manager.clients.createClients: createwrite
  • google_tag_manager.clients.deleteClients: deletedestructive
  • google_tag_manager.clients.getClients: getread
  • google_tag_manager.clients.listClients: listread
  • google_tag_manager.clients.revertClients: revertwrite
  • google_tag_manager.clients.updateClients: updatewrite
Environments6
  • google_tag_manager.environments.createEnvironments: createwrite
  • google_tag_manager.environments.deleteEnvironments: deletedestructive
  • google_tag_manager.environments.getEnvironments: getread
  • google_tag_manager.environments.listEnvironments: listread
  • google_tag_manager.environments.reauthorizeEnvironments: reauthorizewrite
  • google_tag_manager.environments.updateEnvironments: updatewrite
Tags6
  • google_tag_manager.tags.createTags: createwrite
  • google_tag_manager.tags.deleteTags: deletedestructive
  • google_tag_manager.tags.getTags: getread
  • google_tag_manager.tags.listTags: listread
  • google_tag_manager.tags.revertTags: revertwrite
  • google_tag_manager.tags.updateTags: updatewrite
Transformations6
  • google_tag_manager.transformations.createTransformations: createwrite
  • google_tag_manager.transformations.deleteTransformations: deletedestructive
  • google_tag_manager.transformations.getTransformations: getread
  • google_tag_manager.transformations.listTransformations: listread
  • google_tag_manager.transformations.revertTransformations: revertwrite
  • google_tag_manager.transformations.updateTransformations: updatewrite
Triggers6
  • google_tag_manager.triggers.createTriggers: createwrite
  • google_tag_manager.triggers.deleteTriggers: deletedestructive
  • google_tag_manager.triggers.getTriggers: getread
  • google_tag_manager.triggers.listTriggers: listread
  • google_tag_manager.triggers.revertTriggers: revertwrite
  • google_tag_manager.triggers.updateTriggers: updatewrite
Variables6
  • google_tag_manager.variables.createVariables: createwrite
  • google_tag_manager.variables.deleteVariables: deletedestructive
  • google_tag_manager.variables.getVariables: getread
  • google_tag_manager.variables.listVariables: listread
  • google_tag_manager.variables.revertVariables: revertwrite
  • google_tag_manager.variables.updateVariables: updatewrite
Zones6
  • google_tag_manager.zones.createZones: createwrite
  • google_tag_manager.zones.deleteZones: deletedestructive
  • google_tag_manager.zones.getZones: getread
  • google_tag_manager.zones.listZones: listread
  • google_tag_manager.zones.revertZones: revertwrite
  • google_tag_manager.zones.updateZones: updatewrite
Gtag config5
  • google_tag_manager.gtag_config.createGtag config: createwrite
  • google_tag_manager.gtag_config.deleteGtag config: deletedestructive
  • google_tag_manager.gtag_config.getGtag config: getread
  • google_tag_manager.gtag_config.listGtag config: listread
  • google_tag_manager.gtag_config.updateGtag config: updatewrite
User permissions5
  • google_tag_manager.user_permissions.createUser permissions: createwrite
  • google_tag_manager.user_permissions.deleteUser permissions: deletedestructive
  • google_tag_manager.user_permissions.getUser permissions: getread
  • google_tag_manager.user_permissions.listUser permissions: listread
  • google_tag_manager.user_permissions.updateUser permissions: updatewrite
Built in variables4
  • google_tag_manager.built_in_variables.createBuilt in variables: createwrite
  • google_tag_manager.built_in_variables.deleteBuilt in variables: deletedestructive
  • google_tag_manager.built_in_variables.listBuilt in variables: listread
  • google_tag_manager.built_in_variables.revertBuilt in variables: revertwrite
Accounts3
  • google_tag_manager.accounts.getAccounts: getread
  • google_tag_manager.accounts.listAccounts: listread
  • google_tag_manager.accounts.updateAccounts: updatewrite
Destinations3
  • google_tag_manager.destinations.getDestinations: getread
  • google_tag_manager.destinations.linkDestinations: linkwrite
  • google_tag_manager.destinations.listDestinations: listread
Version headers2
  • google_tag_manager.version_headers.latestVersion headers: latestread
  • google_tag_manager.version_headers.listVersion headers: listread

Questions

The Google Tag Manager MCP server, answered.

Is there a Google Tag Manager MCP server for Claude?

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 106 Google Tag Manager actions across workspaces, containers, folders and templates, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Google Tag Manager.

What do I need to connect Google Tag Manager?

Your own Google Tag Manager OAuth app, registered with Google Tag Manager (its client id and client secret), and the access and refresh tokens from one admin sign-in. actionlake has no Google Tag Manager app of its own, so this is not a one-step consent. actionlake renews the access token as it expires. The free call account { op: "connections.requirements", service: "google_tag_manager" } lists exactly what to paste.

Can an AI agent delete or change things in Google Tag Manager?

Only if its key allows it, and only with an explicit confirmation. 15 Google Tag Manager actions are destructive, including tags: delete, triggers: delete and versions: delete. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

Will an AI agent use up my Google Tag Manager API limit?

actionlake paces every call to the limits in the Google Tag Manager service file: 5 calls a second per connection. Repeated reads are answered from cache (39 Google Tag Manager actions can be), which never reaches Google Tag Manager.

What does a Google Tag Manager action cost?

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (16 Google Tag Manager actions page). Cache hits, searches, dry runs and calls Google Tag Manager refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

Which Google Tag Manager API does it cover?

The Tag Manager API v2 (Discovery revision 20261021) at tagmanager.googleapis.com. It is built from Google Tag Manager's documentation as read on 23 October 2026. 106 actions in 18 areas, each one in the signed service file (version 1.0.0).

Does actionlake keep my Google Tag Manager data, and where?

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to 2 minutes, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Google Tag Manager credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

Which AI clients can use it?

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

Give your agent Google Tag Manager today.

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.