Skip to main content
Glama
GeorgesAdSim

Fetch Crawl MCP

by GeorgesAdSim

Check GTM Snippet

check_gtm_snippet
Read-only

Checks a page for Google Tag Manager and gtag.js snippets, detects container IDs, GA4 measurement IDs, verifies head/body placement, noscript fallback, and duplicate IDs.

Instructions

Check a page for Google Tag Manager (GTM) and gtag.js snippets. Detects GTM container IDs, GA4 measurement IDs, verifies snippet placement (head vs body), noscript fallback, and duplicate IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to check for GTM/gtag snippets

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv4.2.0

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already marks this as safe, and the description adds meaningful behavioral detail beyond that: what exactly is detected (IDs), what is verified (placement, noscript, duplicates). This gives the agent a good sense of the tool's results and limitations without overstating scope.

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 with no filler. The first sentence states the core action, and the second lists the concrete verifications. Every word earns its place, and the information is front-loaded.

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?

For a single-parameter, read-only tool, the description is quite complete: it outlines the specific checks performed. It doesn't describe the output format, but with no output schema and a straightforward detection tool, the absence is acceptable. Minor gaps like whether the page is rendered or whether snippets in subframes are checked don't undermine overall callability.

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?

The schema fully describes the single 'url' parameter with 100% coverage, so the description does not need to elaborate much. It adds minimal extra meaning beyond confirming that the page is checked; the description aligns with the parameter's purpose but doesn't provide additional format or usage details.

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?

The description uses a specific verb ('Check') and resource ('a page for Google Tag Manager (GTM) and gtag.js snippets'), and then enumerates distinct detection capabilities: container IDs, GA4 measurement IDs, snippet placement, noscript fallback, and duplicate IDs. This clearly differentiates it from sibling tools like check_datalayer or audit_tracking, which focus on other aspects of tracking.

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?

The description conveys a clear use case: verifying the presence and correctness of GTM/gtag snippets on a page. It does not explicitly name alternatives or state when not to use the tool, but the focused scope makes the intended usage evident given the sibling list.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeorgesAdSim/fetch-crawl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server