Skip to main content
Glama

settings_analytics

Connect Google Tag Manager, Google Analytics or the Meta Pixel. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.

Input Schema

NameRequiredDescriptionDefault
metaPixelIdNoMeta (Facebook) Pixel id, digits only (or a pasted pixel snippet). Empty switches it off.
gtmContainerIdNoGoogle Tag Manager container id, GTM-XXXXXXX. A pasted GTM or gtag snippet is fine: the id is taken from it. The platform loads the container itself, behind the shop's cookie consent, so never add a GTM snippet as a custom script. Empty switches Tag Manager off.
ga4MeasurementIdNoGoogle Analytics 4 measurement id, G-XXXXXXXXXX (or a pasted gtag snippet). Not needed when GA4 is set up inside the Tag Manager container. Empty switches it off.
gtmAccountNumberNoOptional: the Tag Manager account number, digits, for the link to the container.
gtmContainerNumberNoOptional: the Tag Manager container number, digits, for the link to the container.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

This is the description's strongest contribution: it discloses a two-phase confirmation flow — calling the tool changes nothing, returns a preview and a confirmation link, and only the merchant can complete the change on that page. That is exactly the kind of behavior the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) cannot express on their own. There is a mild tension with readOnlyHint=false (the description says 'changes nothing'), but the staged-write interpretation makes this consistent rather than contradictory.

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

Conciseness3/5

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

The purpose and the confirmation-flow disclosure are front-loaded and well formed, but the money/cents sentence is off-topic for this tool and dilutes an otherwise tight four-sentence 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?

Five optional parameters are fully documented in the schema and there is no output schema, so the description only needs to carry the behavioral model — which it does by explaining the preview-and-confirm flow. It stops short of describing what the preview actually returns or what happens to existing settings when a field is left empty.

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%, so the baseline is 3 and the description adds no parameter meaning. Worse, the sentence 'Money is integer minor units (cents)' refers to no parameter in this schema, so it contributes nothing and mildly distracts.

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?

Opens with a specific verb and named resources: 'Connect Google Tag Manager, Google Analytics or the Meta Pixel.' The domain (third-party tracking integrations) is clearly distinct from the other settings_* siblings such as settings_tax, settings_checkout or seo_set, so an agent can identify the right tool without opening the schema.

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

Usage Guidelines3/5

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

The description implies when to use it (setting up GTM/GA4/Meta Pixel) but never states exclusions or contrasts with alternatives. It doesn't say, for example, whether GA4 inside a GTM container should be configured here or elsewhere; that hint exists only inside the ga4MeasurementId parameter description, not in the tool description itself.

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