Skip to main content
Glama

validate_tracking_event

Validates an analytics tracking event payload against a target tracking plan schema to catch mismatches before data collection.

Instructions

Validates an analytics tracking event payload against a target tracking plan schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventYesEvent payload object to validate, including name/event and parameter key-values
plan_idYesTarget tracking plan ID (e.g. 'ecommerce-ga4' or 'leadgen-ga4')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden. It never states that validation is read-only/non-mutating, what a failed validation produces (error list, message shape), or any constraints, and with no output schema the agent has no idea what it gets back beyond an implied pass/fail.

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?

A single front-loaded sentence with no redundant or wasted phrasing. It is efficient, though its terseness leaves behavioral gaps that a slightly longer form could have closed.

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

Completeness2/5

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

For a validation tool with a nested event object, no annotations, and no output schema, the agent needs to know the result format and whether the call mutates anything. Neither is covered, so the definition is incomplete for correct invocation and interpretation.

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% and both parameters (plan_id with examples, event payload object) are documented in the schema. The description adds no format or example detail beyond what the schema already provides, so the baseline 3 applies.

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?

Clear specific verb ('validates') plus resource ('analytics tracking event payload') and the standard it is checked against ('target tracking plan schema'). An agent can distinguish it from the sibling plan-read/create tools. It stops short of explicitly naming which sibling it pairs with or is not.

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

Usage Guidelines2/5

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

The description implies a QA/validation workflow via 'against a target tracking plan schema', but gives no explicit when-to-use, when-not, or prerequisite guidance. Nothing tells the agent to first resolve a plan with get_tracking_plan/list_tracking_plans before calling this.

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