Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.samarthanalytics-sj/samarth-gtm-mcp

NPM · SAMARTH-GTM-MCP · SCANNED AUG 3

Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.

Available components

+30 this week 74 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security79
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects uuid 9.0.1, reached via google-auth-library > gaxios > uuid. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (147 of 149), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to samarthanalytics-sj/samarth-analytics-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 1 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability67
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 11859 tokens (~110/item across 107 items; 107 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage91
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 72% of tool parameters carry a description.Partial
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · samarth-gtm-mcp

# add to Claude Code
claude mcp add samarthanalytics-sj-samarth-gtm-mcp -- npx -y samarth-gtm-mcp
# add to Codex CLI
codex mcp add samarthanalytics-sj-samarth-gtm-mcp -- npx -y samarth-gtm-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "samarthanalytics-sj-samarth-gtm-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "samarth-gtm-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add samarthanalytics-sj-samarth-gtm-mcp --command npx --arg -y --arg samarth-gtm-mcp
# ~/.hermes/config.yaml
mcp_servers:
  samarthanalytics-sj-samarth-gtm-mcp:
    command: "npx"
    args: ["-y", "samarth-gtm-mcp"]
// mcp.json
{
  "mcpServers": {
    "samarthanalytics-sj-samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +54
    • CVE-2026-41907 affects this package: high security
    • Known CVEs: unverified → fail security
    • Install scripts: unverified → pass security
    • Provenance: unverified → pass security
    • Malware scan: unverified → pass security
    • The attested source repository moved: samarthanalytics-sj/samarth-analytics-mcp security
    • Tool coverage: 100 → unverified functional
    • Stability: unverified → 0.20 functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Schema quality: unverified → good functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • First check of Schema quality: unverified functional
    • Licence: MIT functional
  • 31 Jul 26 −24
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 44

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance verified

Ecosystem: npm · Outcome: verified

Reason: verified

Source repo:
samarthanalytics-sj/samarth-analytics-mcp
Certificate issuer:
https://token.actions.githubusercontent.com
Certificate SAN:
https://github.com/samarthanalytics-sj/samarth-analytics-mcp/.github/workflows/release.yml@refs/heads/main
Rekor log index:
1803910685
Predicate type:
https://slsa.dev/provenance/v1
Subject digest:
sha512:ef3892684692d00cfbe075fbf1afcc4ad65ddb758a73685655672f1a827dd0ce1f0ed9292149670be40c8673cbe456319a76b39a17145865910393931
Discovery method:
attestation_endpoint
Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-w5hq-g745-h8pq CVE-2026-41907 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N yes
Dependencies 147 packages

147 packages in the resolved dependency tree · 147 deprecated · 43 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 107 exposed · ~11,055 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
accounts_get ~33

Get details of a specific GTM account.

NameTypeReqDescription
accountIdstringyesThe GTM account ID (numeric string).

No output schema declared.

No examples provided.

accounts_list ~47

List all GTM accounts accessible to the authenticated user. Returns account IDs, names, and share-data flags.

NameTypeReqDescription
includeGoogleTagsbooleanAlso include results from the Google Tags accounts.

No output schema declared.

No examples provided.

audit_container ~84

Inspect a GTM workspace for common analytics implementation issues. Returns structured findings with severity levels (error/warning/info). This is a read-only operation — it never modifies anything.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
includeInfobooleanInclude informational findings (verbose). Default: false.
workspaceIdstringyes

No output schema declared.

No examples provided.

built_in_variables_disable ~86

[DELETE] Disable one or more built-in variables in a GTM workspace. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
typesarrayyesArray of built-in variable types to disable.
workspaceIdstringyes

No output schema declared.

No examples provided.

built_in_variables_enable ~121

[WRITE] Enable one or more built-in variables in a GTM workspace. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
typesarrayyesArray of built-in variable types to enable. Known types include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, and more.
workspaceIdstringyes

No output schema declared.

No examples provided.

built_in_variables_list ~47

List all currently enabled built-in variables in a GTM workspace.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
workspaceIdstringyes

No output schema declared.

No examples provided.

built_in_variables_revert ~89

[WRITE] Revert changes to a built-in variable in the workspace to the original container version. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
typestringyesThe built-in variable type to revert.
workspaceIdstringyes

No output schema declared.

No examples provided.

clients_create ~125

[WRITE] Create a new GTM client. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. Pass the full resource as a JSON string in bodyJson.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
bodyJsonstringyesFull clients resource as a JSON string (e.g. {"name":"...","type":"..."}).
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

clients_delete ~98

[DELETE] Delete a GTM client. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
clientIdstringyesThe clients ID to delete.
confirmbooleanyesMust be true to confirm this delete operation.
containerIdstringyesThe GTM container ID.
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

clients_get ~65

Get a specific GTM client.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
clientIdstringyesThe clients ID.
containerIdstringyesThe GTM container ID.
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

clients_list ~114

List all GTM clients in a workspace. Automatically follows pagination.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

clients_revert ~122

[WRITE] Revert workspace changes to a GTM client back to its last container-version state. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
clientIdstringyesThe clients ID to revert.
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
fingerprintstringCurrent fingerprint (for optimistic locking).
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

clients_update ~138

[WRITE] Update an existing GTM client. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. Pass the full resource as a JSON string in bodyJson.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
bodyJsonstringyesFull clients resource as a JSON string.
clientIdstringyesThe clients ID to update.
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
fingerprintstringCurrent fingerprint (for optimistic locking).
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.

containers_combine ~151

[WRITE] Combine (merge) another container into this one. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. ⚠️ This merges the source container identified by containerIdToCombine into the target container.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
allowUserPermissionFeatureUpdatebooleanAllow updating the user-permission feature during combine.
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe target container ID (the surviving container).
containerIdToCombinestringyesThe container ID to merge into the target.
settingSourcestringWhich container's settings to keep.

No output schema declared.

No examples provided.

containers_create ~103

[WRITE] Create a new GTM container. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
confirmbooleanyesMust be true to confirm this write operation.
domainNamearrayAssociated domain names.
namestringyesContainer name.
notesstringOptional notes.
usageContextarrayyesUsage context(s) for the container.

No output schema declared.

No examples provided.

containers_get ~43

Get details of a specific GTM container.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.

No output schema declared.

No examples provided.

containers_list ~94

List all GTM containers within a GTM account. Automatically follows pagination to return all containers.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.

No output schema declared.

No examples provided.

containers_lookup ~56

Look up a GTM container by its linked destination ID (e.g. a GA4 measurement ID or tag ID).

NameTypeReqDescription
destinationIdstringyesThe destination/tag ID to look up (e.g. "G-XXXXXXX").

No output schema declared.

No examples provided.

containers_move_tag_id ~162

[WRITE] Move a Tag ID out of a container into a new container. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
allowUserPermissionFeatureUpdateboolean
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe source container ID.
copySettingsbooleanWhether to copy container settings.
copyTermsOfServicebooleanWhether to copy terms of service.
copyUsersbooleanWhether to copy users.
tagIdstringyesThe Tag ID to move.
tagNamestringName for the new tag created in the destination container.

No output schema declared.

No examples provided.

containers_snippet ~52

Get the GTM installation snippet (HTML/JS tagging code) for a container.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.

No output schema declared.

No examples provided.

destinations_get ~54

Get details of a specific GTM destination.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.
destinationIdstringyesThe destination ID.

No output schema declared.

No examples provided.

destinations_link ~115

[WRITE] Link a destination (Google tag / GA4 destination) to a GTM container. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
allowUserPermissionFeatureUpdateboolean
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
destinationIdstringyesThe destination ID to link (e.g. "G-XXXXXXX").

No output schema declared.

No examples provided.

destinations_list ~52

List all destinations (linked Google tags / GA4 destinations) for a GTM container.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.

No output schema declared.

No examples provided.

environments_create ~118

[WRITE] Create a new GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
descriptionstringEnvironment description.
enableDebugbooleanWhether to enable debug by default.
namestringyesEnvironment name.
urlstringDefault preview page URL for the environment.

No output schema declared.

No examples provided.

environments_delete ~87

[DELETE] Delete a GTM environment. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
confirmbooleanyesMust be true to confirm this delete operation.
containerIdstringyesThe GTM container ID.
environmentIdstringyesThe GTM environment ID to delete.

No output schema declared.

No examples provided.

environments_get ~56

Get details of a specific GTM environment.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.
environmentIdstringyesThe GTM environment ID.

No output schema declared.

No examples provided.

environments_list ~101

List all environments in a GTM container. Automatically follows pagination.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
containerIdstringyesThe GTM container ID.
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.

No output schema declared.

No examples provided.

environments_reauthorize ~119

[PUBLISH] Re-generate the authorization code for a GTM environment. Requires GTM_MCP_ENABLE_PUBLISH=true and confirm=true. ⚠️ This rotates the environment auth token; any embedded snippet using the old token stops working until updated.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
confirmbooleanyesMust be true to confirm this high-impact operation.
containerIdstringyesThe GTM container ID.
environmentIdstringyesThe GTM environment ID to reauthorize.

No output schema declared.

No examples provided.

environments_update ~145

[WRITE] Update an existing GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
descriptionstringNew description.
enableDebugbooleanWhether to enable debug by default.
environmentIdstringyesThe GTM environment ID to update.
fingerprintstringCurrent fingerprint (for optimistic locking).
namestringNew environment name.
urlstringNew default preview page URL.

No output schema declared.

No examples provided.

export_container ~111

Export a full GTM workspace summary as structured JSON. Returns all tags, triggers, variables, folders, and built-in variables. This is a read-only operation. Use this for documentation, auditing, or feeding container data to other tools.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
formatstring"full" = all fields, "summary" = key fields only, "names_only" = just names and IDs
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_create ~75

[WRITE] Create a GTM folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
namestringyes
notesstring
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_delete ~83

[DELETE] Delete a GTM folder. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true. Contents of the folder will be unfoldered, not deleted.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
folderIdstringyes
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_entities ~57

List all entities (tags, triggers, variables) within a specific GTM folder.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
folderIdstringyes
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_get ~47

Get a specific GTM folder.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
folderIdstringyes
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_list ~103

List all GTM folders in a workspace. Automatically follows pagination to return all folders.

NameTypeReqDescription
accountIdstringyes
containerIdstringyes
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_move_entities ~114

[WRITE] Move tags/triggers/variables into a folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
folderIdstringyesThe destination folder ID.
tagIdarrayTag IDs to move.
triggerIdarrayTrigger IDs to move.
variableIdarrayVariable IDs to move.
workspaceIdstringyes

No output schema declared.

No examples provided.

folders_update ~90

[WRITE] Update a GTM folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.

NameTypeReqDescription
accountIdstringyes
confirmbooleanyes
containerIdstringyes
fingerprintstring
folderIdstringyes
namestring
notesstring
workspaceIdstringyes

No output schema declared.

No examples provided.

ga4_account_summaries_list ~113

List GA4 account summaries accessible to the authenticated user. Each summary includes the account plus a lightweight list of its property summaries (property ID + display name). Best starting point to discover available GA4 accounts and properties. Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.

No output schema declared.

No examples provided.

ga4_custom_dimensions_list ~119

List custom dimensions configured on a GA4 property (parameter name, display name, scope: EVENT/USER/ITEM). Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_custom_metrics_list ~121

List custom metrics configured on a GA4 property (parameter name, display name, measurement unit, scope, restricted-metric type). Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_data_retention_get ~65

Get the data retention settings for a GA4 property (event data retention duration and whether retention resets on new activity). Read-only.

NameTypeReqDescription
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_data_streams_list ~141

List data streams for a GA4 property (web, Android, iOS). Web streams include the measurement ID and default URI; app streams include package name / bundle ID. Use this to audit measurement IDs and stream config. Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_enhanced_measurement_get ~122

Get the enhanced measurement settings for a specific WEB data stream (scrolls, outbound clicks, site search, video engagement, file downloads, form interactions). Only valid for web streams. Served via the Admin API v1alpha surface (not yet in v1beta). Read-only.

NameTypeReqDescription
dataStreamIdstringyesThe data stream ID (numeric) or full "dataStreams/{id}" suffix.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_google_ads_links_list ~120

List Google Ads links for a GA4 property (linked customer ID, personalized-advertising and auto-tagging flags). Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_key_events_list ~131

List key events (formerly "conversion events") for a GA4 property — the current Admin API naming. Returns event name, counting method, and whether the event is deletable. Read-only.

NameTypeReqDescription
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_properties_list ~142

List GA4 properties under a given parent account. Returns full property records (display name, time zone, currency, industry, service level). Read-only.

NameTypeReqDescription
accountIdstringyesParent GA4 account ID, e.g. "123456" or "accounts/123456".
maxPagesintegerMaximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken.
pageTokenstringContinuation token to resume listing from a previous truncated result.
showDeletedbooleanInclude soft-deleted (trashed) properties in the results.

No output schema declared.

No examples provided.

ga4_property_get ~65

Get a single GA4 property by ID, including display name, time zone, currency, industry category, and service level. Read-only.

NameTypeReqDescription
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_run_realtime_report ~159

Run a read-only GA4 Data API Realtime report (events in roughly the last 30 minutes). Useful to confirm a tag is firing right now during live QA. Read-only — never writes. Requires the analytics.readonly scope.

NameTypeReqDescription
dimensionsarrayDimension names, e.g. ["eventName","date"]. Max 9. Omit for a metric-only report.
limitintegerMax rows to return (default 100).
metricsarrayyesMetric names, e.g. ["eventCount","totalUsers"]. At least 1, max 10.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".

No output schema declared.

No examples provided.

ga4_run_report ~273

Run a read-only GA4 Data API report for a property over a date range. Returns dimension/metric rows (e.g. event counts by eventName). Useful for reconciling configured GTM/GA4 events against events GA4 actually reports (zero reported activity for a configured event is a red flag). Read-only — never writes. Requires the analytics.readonly scope.

NameTypeReqDescription
dimensionsarrayDimension names, e.g. ["eventName","date"]. Max 9. Omit for a metric-only report.
endDatestringEnd date: YYYY-MM-DD, "NdaysAgo", "today", or "yesterday".
limitintegerMax rows to return (default 250).
metricsarrayyesMetric names, e.g. ["eventCount","totalUsers"]. At least 1, max 10.
offsetintegerRow offset for paging (default 0).
orderByMetricstringMetric name to order by (descending). Optional.
propertystringyesGA4 property ID, e.g. "123456789" or "properties/123456789".
startDatestringStart date: YYYY-MM-DD, "NdaysAgo", "today", or "yesterday".

No output schema declared.

No examples provided.

gtag_config_create ~131

[WRITE] Create a new GTM gtag config. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. Pass the full resource as a JSON string in bodyJson.

NameTypeReqDescription
accountIdstringyesThe GTM account ID.
bodyJsonstringyesFull gtag configs resource as a JSON string (e.g. {"name":"...","type":"..."}).
confirmbooleanyesMust be true to confirm this write operation.
containerIdstringyesThe GTM container ID.
workspaceIdstringyesThe GTM workspace ID.

No output schema declared.

No examples provided.