Skip to main content
Glama
google-data-mcp

google-data-mcp

by seliem-attia

GTM: Install code

gtm_container_snippet
Read-only

Retrieve the Google Tag Manager container install code, including head snippet and body noscript tag, to onboard tracking or verify website installation.

Instructions

Returns the GTM install code of a container (head snippet and noscript part for the body), e.g. for onboarding or to check the installation on the website.

Input Schema

NameRequiredDescriptionDefault
accountIdYes
containerIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds the useful detail that the return splits into a head snippet and a noscript body part, but says nothing about permissions, container state requirements, or error behavior for a live container.

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?

A single front-loaded sentence: what is returned first, then the payload breakdown, then usage contexts. No filler and nothing buried.

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

Completeness3/5

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

For a simple read-only tool with no output schema, the description does the important work of describing the return shape. However, with two required identifiers at 0% schema coverage, an agent still has to guess where accountId and containerId come from.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters. The phrase 'of a container' loosely implies containerId, but accountId is never mentioned and neither parameter's format or source is explained, so the description fails to compensate for the schema gap.

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

Purpose5/5

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

States a specific verb and resource — returns the GTM install code of a container — and specifies exactly what the payload contains (head snippet plus noscript body part). That is distinguishable from siblings like gtm_export_container or gtm_list_containers without opening any schema.

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 concrete usage contexts (onboarding, verifying installation on the website), which tells the agent when this is the right tool. It does not name an alternative or state exclusions, so it falls short of a 5.

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