Skip to main content
Glama

Track Event

openpanel_track_event

Sends a custom analytics event to OpenPanel with an event name, project ID, optional user profile ID, and custom properties so you can log actions like signups, purchases, or button clicks.

Instructions

Track a custom analytics event in OpenPanel.

Args:

  • name (string, required): Event name (e.g. 'button_click', 'purchase', 'signup')

  • project_id (string, required): OpenPanel project ID

  • profile_id (string, optional): User profile ID to associate this event with

  • properties (object, optional): Custom key-value properties for the event

Returns: Confirmation that the event was accepted (202 Accepted).

Example: Track a purchase event with amount and currency properties.

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": {
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "openpanel_track_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEvent name (e.g. 'button_click', 'page_view', 'purchase')
profile_idNoUser profile ID to associate this event with
project_idYesOpenPanel project ID
propertiesNoCustom event properties as key-value pairs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful fact beyond that — the 202 Accepted async acceptance semantics, implying the event is queued rather than immediately queryable. It omits the practical consequence of idempotentHint=false (retries can duplicate events) and any auth/scope requirements.

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 lead sentence is correctly front-loaded, but the Args block duplicates the input schema almost word for word and consumes most of the definition's length without adding information. The closing Example sentence is truncated into a non-example, which is wasted space rather than wasted clarity.

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

Completeness3/5

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

For a 4-parameter write tool with a nested free-form properties object and no output schema, the description does supply the one return fact that matters (202 Accepted confirmation). However, it leaves the nested properties contract undefined and gives no guidance on duplicate-event behavior for a non-idempotent write, which are the two gaps an agent is most likely to hit.

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 all four parameters are already documented in structured form and the baseline is 3. The Args block largely restates the schema verbatim; the only marginal addition is naming concrete event-name examples like 'purchase' and 'signup', and nothing clarifies what value types are valid inside the nested properties object.

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?

"Track a custom analytics event in OpenPanel" gives a specific verb (track) and resource (custom analytics event), which is enough to separate it from read-oriented siblings like openpanel_get_events. It does not explicitly contrast itself with the profile-mutation siblings (identify_profile, alias_profile), so the differentiation is implicit rather than stated.

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 or when-not-to-use guidance: nothing says to prefer openpanel_identify_profile when the goal is attaching traits to a user, or that this tool should not be used to backfill historical events. The trailing "Example:" line hints at a use case but is never completed, so it adds no actionable routing information.

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