Skip to main content
Glama

Tracking and consent

tracking
Read-onlyIdempotent

Whether analytics and consent are set up right, and whether the numbers add up. Pick with mode: ga4 = GA4 tags, events and duplicates. Needs url. consent = Cookie banner and Consent Mode v2. Needs url. gsc_vs_ga4 = Search Console clicks against GA4 sessions per page: broken or filtered tracking. Needs gsc[{page, clicks}], ga4[{landing_page, sessions}].

Input Schema

NameRequiredDescriptionDefault
ga4NoGA4 sessions per landing page, organic Google only.
gscNoSearch Console clicks per page.
urlNoFull address of the page, for example https://example.com/.
modeNoDefault ga4.
detailNobrief = short summary.
memory_keyNosite_memory key, records this call.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / description
      Removed value: -"The result as structured data; fields depend on mode."
  2. Changed2 schema fields changed
    • changedInput schema / properties / detail / description
      Previous value: -"brief returns a short summary, default full."New value: +"brief = short summary."
    • changedInput schema / properties / memory_key / description
      Previous value: -"Optional site_memory key, to record this call in the site memory."New value: +"site_memory key, records this call."
  3. Changed1 schema field changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "brief returns a short summary, default full.",
      +  "enum": [
      +    "full",
      +    "brief"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / memory_key
      Added value: +{
      +  "description": "Optional site_memory key, to record this call in the site memory.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / ga4
      Added value: +{
      +  "description": "GA4 sessions per landing page, organic Google only.",
      +  "items": {
      +    "properties": {
      +      "landing_page": {
      +        "maxLength": 2000,
      +        "type": "string"
      +      },
      +      "sessions": {
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "landing_page",
      +      "sessions"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 5000,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / gsc
      Added value: +{
      +  "description": "Search Console clicks per page.",
      +  "items": {
      +    "properties": {
      +      "clicks": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "page": {
      +        "maxLength": 2048,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "page",
      +      "clicks"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 5000,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "ga4",
      -  "consent"
      -]New value: +[
      +  "ga4",
      +  "consent",
      +  "gsc_vs_ga4"
      +]
  6. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the per-mode behavior (what each check inspects) but says nothing about auth needs, rate limits, or cost. Adequate but thin given annotations do most of the work.

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

Conciseness4/5

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

The description is front-loaded with the mode selection and then walks each mode compactly in parallel structure. It is telegraphic but every clause carries routing or input information; nothing is padding.

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?

Modes, their purposes, and their required inputs are covered, and an output schema exists so return values need not be explained. Minor gaps are the undocumented detail/memory_key semantics, but those are covered by the schema descriptions.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds value the schema cannot express: with zero top-level required params, it clarifies the conditional requirement of url for ga4/consent modes and the required gsc/ga4 array shapes for gsc_vs_ga4. Only detail and memory_key go unmentioned, and those are self-documenting in the schema.

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?

The lead sentence is a bit abstract ('whether the numbers add up'), but the mode breakdown gives concrete, specific checks: GA4 tags/events/duplicates, cookie banner and Consent Mode v2, and GSC clicks vs GA4 sessions. An agent can tell what each mode does without opening the schema. It does not differentiate itself from adjacent siblings like technical or measure, which keeps it out of 5 territory.

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 explicitly instructs 'Pick with mode' and maps each mode to its purpose and required inputs, which is real routing guidance among the tool's own modes. However, it never states when to choose this tool over siblings such as technical, measure, or scan_page, so the alternative-selection guidance is incomplete.

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.