Skip to main content
Glama

Measure.events Analytics

track_event

Track a pageview or event on a site. Use this to instrument agent-driven page visits or actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPage path (e.g. /about)
agentNoAgent name for attribution
referrerNoReferring URL
site_keyYesThe site's tracking ID
utm_mediumNo
utm_sourceNo
utm_campaignNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states what the tool does (tracks events) but fails to mention side effects (it writes/records data), whether the call is asynchronous, or what the response contains. This is a minimal description that leaves the agent guessing about outcomes.

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?

The description is two sentences long, front-loaded with the core purpose, and contains no filler or redundant information. Every word earns its place.

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?

Given the complexity of 7 parameters, no output schema, and no annotations, the description is far too sparse. It does not describe the return value, error behavior, or how the parameters relate to the tracking action, leaving substantial gaps that an agent needs to handle correctly.

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 57%, leaving the three utm_* parameters completely undocumented in the schema, and the description does not compensate by explaining them. It also does not clarify how 'pageview or event' maps to the path or site_key parameters, adding little meaning beyond the schema.

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 clearly states the verb and resource: 'Track a pageview or event on a site.' It also specifies the use case ('instrument agent-driven page visits or actions') and is distinct from sibling analytics tools that read data (get_insights, get_site_analytics) and site creation (create_site).

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?

It explicitly says 'Use this to instrument agent-driven page visits or actions,' giving clear context for when to invoke. However, it does not provide explicit alternatives or when-not-to-use scenarios, and the sibling log_checkin may represent an overlapping use case.

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.