Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

track_event

Record commerce events—purchases, cart abandonment, browsing, wishlists, and reviews—against a contact email to enable behavioral tracking and email automation.

Instructions

Track a commerce event (purchase, cart_abandonment, browse, wishlist, review).

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>",
      "email": "<email>"
    },
    "name": "track_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesEmail address of the contact.
revenueNoRevenue amount for purchase events.
currencyNoCurrency code (e.g. USD, EUR).
order_idNoOrder ID for purchase events.
timestampNoISO 8601 timestamp of the event.
event_typeYesEvent type (purchase, cart_abandonment, browse, wishlist, review).
propertiesNoAdditional event properties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the write/external-call profile is known. The description adds nothing beyond repeating the event-type list already in the schema: it does not say whether duplicate events are deduplicated, whether the email must already exist as a contact, or what happens to unknown event types. No contradiction with annotations.

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 filler or redundancy. It is efficient, though the brevity is partly why behavioral and usage context is missing rather than a sign of a complete definition.

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?

With seven parameters, a nested free-form 'properties' object, no output schema, and no idempotency guarantees in text, this tool needs more than one sentence. The description never addresses conditional parameter requirements per event type or what the call returns, leaving real gaps for a mutation tool.

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 seven parameters is already documented, including the nested 'properties' object. The description only echoes the event_type values that the schema already lists, adding no conditional logic such as which fields are required for purchase versus browse events.

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?

States a specific verb and resource ('Track a commerce event') and enumerates the supported event types, so an agent immediately knows what the tool does. It does not differentiate from siblings like the create_event_destination family, though those are clearly a different resource, so the risk of confusion is low.

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, no prerequisites, and no named alternative. An agent must infer from the name alone that this is the tool for recording contact-level commerce activity rather than configuring event destinations.

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

Deploy Server

Other Tools