Skip to main content
Glama

Tag Manager tracking audit

gtm_audit
Read-only

Audit the LIVE container: which GA4 / Google Ads / Meta / TikTok / Snap IDs fire, missing Conversion Linker, tags without triggers, duplicates, retired Universal Analytics, paused tags, unused triggers/variables and unpublished drafts. Use for 'is my tracking OK' questions about the website.

Input Schema

NameRequiredDescriptionDefault
detailNosummary (default): headline numbers and the top 5 rows — right for a specific question or a quick look. full: every row and section — only when the user asks for a full report, a complete list or all the details.
folderNoClient folder name.
languageNoLanguage of the card (ar for Arabic, en for English).
containerNoContainer name, public ID (GTM-XXXX) or container ID. Required when several containers are enabled.
workspaceNoWorkspace name or ID. Defaults to 'Default Workspace'.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: the audit targets the LIVE container specifically and includes unpublished drafts as a finding category, telling the agent it is reading production state rather than a workspace. Auth requirements and result limits are not disclosed, but the annotation bar is already met.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and target, then a compact enumeration of findings. The long list is dense but each item narrows scope usefully rather than padding, and the usage cue closes the description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All five parameters are optional and fully documented in the schema, and there is no output schema, so the description needs only to convey scope and when to call it — which it does. What an agent gets back (headline numbers vs every row) is covered by the 'detail' parameter description rather than the tool description, a minor gap but not a blocking one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and each parameter already carries a full explanation, including the summary/full trade-off for 'detail'. The description mentions none of the five parameters, adding no syntax or selection guidance beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (audit) and resource (the LIVE GTM container) and then enumerates the exact checks: GA4/Google Ads/Meta/TikTok/Snap IDs firing, missing Conversion Linker, untriggered tags, duplicates, retired UA, paused tags, unused triggers/variables, unpublished drafts. That is far more specific than a generic 'audit tracking'. It does not explicitly distinguish itself from siblings such as ga4_tracking_check, google_ads_tracking_audit or gtm_tag_details, which keeps it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use case: 'is my tracking OK' questions about the website, which routes the agent well for diagnostics. It offers no explicit exclusions or named alternatives (e.g. when to prefer ga4_tracking_check or gtm_overview), so the agent must infer the boundaries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources