MCP server for Google Tag Manager providing tools to manage GTM accounts, containers, tags, triggers, variables, and other GTM resources via the Google Tag Manager API
Only 1 tool is visible in the source code (gtm_remove_session). The package.json and src/tools/index.ts reference 17 other tool modules (accountActions, builtInVariableActions, clientActions, containerActions, destinationActions, environmentActions, folderActions, gtagConfigActions, tagActions, templateActions, transformationActions, triggerActions, userPermissionActions, variableActions, versionHeaderActions, versionActions, workspaceActions, zoneActions) but their actual definitions are NOT provided in the source sample. The one visible tool (gtm_remove_session) scores poorly due to missing input schema and unsafe parameter handling. Average: (8 + 50*17) / 18 = 18.2.
Clear client data from MCP server and revoke google auth access
17 of 18 tools are referenced but not defined in provided source. Only gtm_remove_session is visible. Cannot evaluate their schemas, descriptions, or parameters.
gtm_remove_session has NO input schema. The tool accepts no declared parameters, yet internally accesses props.clientId, props.userId, props.accessToken. These are passed via closure, not as tool parameters.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 26 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 15 | 1.0+ | v1 |
gtm_remove_session description is only 69 characters ('Clear client data from MCP server and revoke google auth access') and does not explain WHEN to call it, WHAT it returns, or any prerequisites. This is too brief.
gtm_remove_session credentials are NOT passed as tool parameters (correct), but the tool accesses props.accessToken via closure. Props are populated from server state, not user input. However, response includes unstructured text with manual instructions instead of structured guidance. Per pattern, error guidance should be actionable but structured.
gtm_remove_session is a destructive operation (clears all client data, revokes auth) but has NO confirmation step, dry-run, or permission gate. Per pattern, irreversible operations should support confirmation before execution.
gtm_remove_session error handling is minimal. If the fetch fails, it returns a generic error with no guidance on what went wrong or how to retry. Per pattern, errors should categorize as retryable vs fatal and guide the LLM's next action.
Tool naming: gtm_remove_session uses underscore convention (correct) and starts with 'remove' (a verb, correct). However, 'remove_session' is ambiguous, does it remove the user's session, the MCP server session, or auth tokens? The description clarifies slightly but the name alone does not convey the full scope (revoke auth access).