gtm-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_APPLICATION_CREDENTIALS | Yes | Path to the GCP service account JSON key used to authenticate with the Google Tag Manager API (e.g. /home/tay/projects/gtm-mcp/secrets/service-account.json). |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gtm_accountA | Performs all account-related operations: get, list, update. Use the 'action' parameter to select the operation. |
| gtm_built_in_variableC | Performs all built-in variable operations: create, list, remove, revert. The 'list' action returns up to itemsPerPage items per page. |
| gtm_clientB | Performs all client operations: create, get, list, update, remove, revert. The 'list' action returns up to itemsPerPage items per page. |
| gtm_containerB | Performs all container-related operations: create, get, update, remove, list, combine, lookup, moveTagId, snippet. The 'list' action returns up to itemsPerPage items per page. |
| gtm_destinationC | Performs all destination operations: get, list, link, unlink. The 'list' action returns up to 50 items per page. |
| gtm_environmentC | Performs all environment operations: create, get, list, update, remove, reauthorize. The 'list' action returns up to 50 items per page. |
| gtm_folderB | Performs all folder operations: create, get, list, update, remove, revert, entities, moveEntitiesToFolder. The 'list' action returns up to 50 items per page. |
| gtm_gtag_configA | Performs all Google tag config operations: create, get, list, update, remove. The 'list' action returns up to itemsPerPage items per page. |
| gtm_tagB | Performs all GTM tag operations: create, get, list, update, remove, revert. The 'list' action returns up to 20 items per page. |
| gtm_templateB | Performs all GTM custom template operations: create, get, list, update, remove, revert. The 'list' action returns up to itemsPerPage items per page. |
| gtm_transformationC | Performs all GTM transformation operations: create, get, list, update, remove, revert. The 'list' action returns up to itemsPerPage items per page. |
| gtm_triggerA | Performs all GTM trigger operations: create, get, list, update, remove, revert. The 'list' action returns up to 20 items per page. |
| gtm_user_permissionB | Performs all user permission operations: create, get, list, update, remove. The 'list' action returns up to 50 items per page. |
| gtm_variableB | Performs all GTM variable operations: create, get, list, update, remove, revert. The 'list' action returns up to 20 items per page. |
| gtm_version_headerB | Performs all container version header operations: list, latest. The 'list' action returns up to 50 items per page. |
| gtm_versionA | Performs all container version operations: get, live, publish, remove, setLatest, undelete, update. For 'get' and 'live' actions, use 'resourceType' to paginate specific resource arrays (up to 20 items per page) to avoid response truncation. |
| gtm_workspaceB | Performs various workspace operations including create, get, list, update, remove, createVersion, getStatus, sync, quickPreview, and resolveConflict actions. The 'list' action returns up to 50 items per page. |
| gtm_zoneB | Performs various zone operations including create, get, list, update, remove, and revert actions. The 'list' action returns up to 20 items per page. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Each tool maps to a single distinct GTM resource, with the action parameter separating verbs within that resource, so there is no real overlap between tools. Closely related resources such as variable vs built_in_variable and version vs version_header are still clearly distinguished by name and description.
All tools follow a strict gtm_<resource> snake_case convention with no mixing of styles. The pattern is predictable across the entire set.
The 18 tools correspond to distinct Google Tag Manager resources and each earns its place, giving comprehensive API coverage. The count is slightly above the typical 3-15 range, but it reflects the breadth of the GTM resource model rather than redundancy.
The surface covers the full GTM lifecycle across accounts, containers, workspaces, tags, triggers, variables, templates, transformations, clients, folders, environments, versions, permissions, destinations, and gtag configs. Resource-specific action gaps such as account create/delete appear to reflect API limitations rather than missing tool coverage.