Skip to main content
Glama
strait-link

Strait MCP server

Official
by strait-link

Record a conversion event

record_event

Records a server-side conversion or revenue event in analytics and webhooks; set confirm to true to save it and use eventId to make retries idempotent.

Instructions

Write. Records one conversion or revenue event from your server side (trusted: sentWith secret_key), the same as POST /v1/event. It counts in analytics and revenue and is sent to webhooks subscribed to app.event, so it needs confirm: true; without it nothing is recorded and you get a preview. clickId ties it to the tap it came from (apps get it from the SDK). eventId (e.g. your order id) makes retries safe: the same eventId is stored once. Apps should send events with the SDKs, not this tool.

Input Schema

NameRequiredDescriptionDefault
dataNoUp to 20 custom key-values for the app.event webhook (not stored with the event)
eventYesEvent name, e.g. purchase or signup
valueNoRevenue amount, e.g. 499
linkIdNoThe link, when there is no clickId
clickIdNoThe tap this conversion came from
confirmNotrue to record it; omit or false to preview
eventIdNoIdempotency id, e.g. ord_1001
currencyNoISO currency, e.g. INR or USD
platformNoios, android or web

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses the confirm-gate dry-run semantics, that the event feeds analytics/revenue and app.event webhooks, that secret_key authentication is required, and that eventId dedupes retries. The only friction is that the stated eventId idempotency sits in mild tension with idempotentHint=false, though that hint is reasonably read as 'not idempotent by default'.

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?

Front-loads the action and the most consequential constraint (confirm gate) before the identity fields. Dense but nearly every clause carries information; the 'Write.' lead-in is slightly terse relative to the rest but harmless.

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

Completeness4/5

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

For a 9-parameter mutation with a nested data object and no output schema, the description covers the decisions an agent must make: whether to call at all (SDK preferred), the confirm gate, and retry safety. Return shape is only gestured at ('you get a preview'), which is the remaining minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: clickId's origin (apps get it from the SDK), eventId's purpose (your order id, safe retries), and confirm's effect. value, currency, platform, and data are left to the schema, which already documents them well.

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?

Opens with the verb 'Write' and states precisely what is recorded: one conversion or revenue event from a trusted server-side context, equating it to POST /v1/event. That verb+resource+scope framing separates it cleanly from siblings like list_events, get_analytics, and simulate_tap.

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

Usage Guidelines5/5

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

Explicitly names the alternative ('Apps should send events with the SDKs, not this tool') and the condition that flips behavior (confirm: true records; omit/false yields a preview). It also states the server-side/secret_key prerequisite that selects this tool over SDK usage.

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