Skip to main content
Glama

track_event

Send event data to Amplitude to log user actions, revenue, and custom properties for analytics.

Instructions

Track an event to Amplitude

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_type": "<event_type>"
    },
    "name": "track_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity
timeNoEvent timestamp (milliseconds)
priceNoProduct price
regionNoRegion
countryNoCountry code
revenueNoRevenue amount
user_idNoUser ID
languageNoLanguage code
platformNoPlatform (iOS, Android, Web)
quantityNoProduct quantity
device_idNoDevice ID
event_typeYesEvent name
app_versionNoApp version
user_propertiesNoUser properties to set
event_propertiesNoCustom event properties

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses almost nothing: no indication that this sends data to an external service, no auth/API-key requirement, no idempotency, retry, queueing, or validation-failure behavior, and no note that nested user_properties mutates persistent user state. The only behavioral fact conveyed is the external destination.

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 single sentence is front-loaded and contains no filler, but it is under-specified rather than concise, offering no structure to help an agent navigate a 15-parameter payload. Nothing needs removing; something needs adding.

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 15-parameter write tool with nested objects, no annotations, and no output schema, a four-word description is far short of complete. It omits which identifiers are expected, how property objects are merged, and when to batch instead, all of which an agent needs to call this correctly.

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 every one of the 15 parameters is already documented in the schema, and the baseline of 3 applies. The description adds no extra meaning about the required event_type, the interaction between user_id/device_id, or the nested user_properties vs event_properties split.

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 description gives a specific verb and resource ('Track an event') plus the destination ('to Amplitude'), so the agent knows it is a write/emit operation against an analytics service rather than a read. It does not distinguish itself from the sibling 'track_batch_events', leaving the single-vs-batch choice unstated.

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?

There is no when-to-use guidance at all: nothing says when to prefer this over 'track_batch_events' or how it relates to 'identify_user' for setting user_properties. The agent must infer everything from the tool name and schema.

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