← TaggingDocs MCP

Scopes & tools

How the TaggingDocs MCP Server uses each Google OAuth scope — last updated 2026-04-16.

The Server exposes 35 tools to a connected AI client (4 documentation tools + 31 Google Tag Manager tools). Each tool is tied to one specific Tag Manager OAuth scope. The table below lists which scope each tool uses, so a user or reviewer can verify the Server never requests broader access than a registered tool actually needs.

Scopes are requested together during the initial OAuth consent so the user isn't prompted repeatedly; at runtime, each tool only exercises the single scope listed for it.

Documentation tools — no Google scope

These tools search and read taggingdocs.com content. They do not touch any Google API and are available without authentication.

ToolPurpose
search_taggingdocsFull-text search across TaggingDocs articles.
read_taggingdocs_pageFetch a single article by slug.
list_taggingdocs_sectionsBrowse the library by section.
lookup_eventLook up a GA4 event spec (e.g. purchase).

Google Tag Manager scopes

https://www.googleapis.com/auth/tagmanager.readonly

Read-only access. List and fetch GTM resources without modifying them. Needed for audits, reporting, and any "show me" request from the AI.

ToolPurpose
list_accountsList GTM accounts the user has access to.
list_containers, get_containerList / read container metadata.
list_workspaces, get_workspace, get_workspace_statusList / read workspaces and pending changes.
list_tags, get_tagList / read tag configurations.
list_triggers, get_triggerList / read trigger configurations.
list_variables, get_variableList / read user-defined variables.
list_foldersList folders in a workspace.
list_versionsList container versions.
list_built_in_variablesList enabled built-in variables.
list_templatesList custom tag and variable templates.

https://www.googleapis.com/auth/tagmanager.edit.containers

Create, update, and delete GTM resources within a container. Needed whenever the user asks the AI to make changes to a workspace.

ToolPurpose
create_containerCreate a new container in an account.
create_workspaceCreate a workspace to stage changes in.
create_tag, update_tag, delete_tagCreate / update / delete a tag.
create_trigger, update_trigger, delete_triggerCreate / update / delete a trigger.
create_variable, update_variable, delete_variableCreate / update / delete a variable.
create_folderCreate a folder for organization.

https://www.googleapis.com/auth/tagmanager.edit.containerversions

Freeze a workspace's staged changes into a numbered container version that can be reviewed before publishing.

ToolPurpose
create_versionFreeze the current workspace into a version.

https://www.googleapis.com/auth/tagmanager.publish

Publish a container version (go live). Only invoked when the user explicitly asks the AI to publish.

ToolPurpose
publish_versionPublish the specified version so it goes live for site visitors.

https://www.googleapis.com/auth/tagmanager.manage.users

Read account-level user permissions. Used by the container audit prompt to surface access / governance issues.

ToolPurpose
list_user_permissionsList users with access to the account and their permission level.

https://www.googleapis.com/auth/tagmanager.manage.accounts

Read account-level settings. Requested alongside manage.users so audit prompts can see the full account context in a single grant. Not used to create or modify accounts.

openid and email

Used only to identify the user's session via their Google email address after the initial OAuth flow. No profile data beyond the email is fetched or stored. Details in the Privacy Policy.

Why these scopes and not narrower ones

Limited Use The Server's use and transfer to any other app of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements. Full disclosure in the Privacy Policy.