Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

record_in_app_event

Destructive

Records in-app message or card display, click, dismissal, or read events so click counts and feed visibility stay accurate.

Instructions

Record that the app displayed, clicked, dismissed or read an in-app item. Repeats change nothing except clickCount. Clicks, dismissals and reads also count as a display. Messages leave the open feed once displayed, clicked or dismissed; cards once dismissed.

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": {
      "messageId": "<messageId>",
      "type": "<type>"
    },
    "name": "record_in_app_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesEvent to record.
buttonIdNoClicks in custom HTML messages: which control was clicked (1-255 letters, numbers, spaces, dashes or underscores).
companyIdNoCompany ID. If not provided, uses the currently selected company.
messageIdYesIn-app message or card ID (from list_in_app_messages).
pushPermissionNoWith type "clicked" on a push primer (a request_push_permission button): the notification permission the app read after asking. Kept once per item and written to the contact's pushPermission attribute.

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
valueNoFallback object wrapper used only when a tool returns a non-object value.
messageNoThe in-app message record returned by Sequenzy.
successNoWhether the Sequenzy operation succeeded.
recordedNoTrue when this report set the timestamp; false for a repeat.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing concrete side effects: repeats mutate only clickCount (consistent with idempotentHint=false), clicks/dismissals/reads are additionally counted as a display, and items are removed from the open feed once displayed/clicked/dismissed. This gives the agent the real consequence of the destructiveHint=true flag and the pushPermission attribute write noted in the schema.

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?

Three tight sentences: purpose first, then mutation semantics, then feed-state consequences. No filler, though the second and third sentences are telegraphic enough that 'cards once dismissed' takes a reread to parse as a separate clause.

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?

With annotations and an output schema already supplied, the description covers what an agent needs about effects and repeat behavior. It does not state identity/session prerequisites (who the event is attributed to) or error behavior for an unknown messageId, which is the main remaining gap for a write 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 parameter including the buttonId format and pushPermission semantics is already documented. The description adds only indirect meaning (that 'clicked' covers HTML-button clicks) and does not explain interactions between messageId type and feed state beyond what the schema states; baseline 3 applies.

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 first sentence names a specific verb ('Record') and the exact resource ('in-app item' event) plus the four event types. It is unmistakably a client-side event-recording tool, distinct from the campaign/placement management siblings such as create_in_app_campaign or list_in_app_messages.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the reader infers this is the tool to call when the app renders/interacts with an already-delivered item. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. the server-side trigger_subscriber_event), so the agent must derive the boundary itself.

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