Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

update_live_activity

Destructive

Updates every running Live Activity or Android Live Update for a contact, or all devices via broadcast, with new content state and optional alert.

Instructions

Update every running copy of a contact's Live Activity (one per device, iOS and Android Live Updates) with new content state. Requires email or subscriberId, or broadcast: true to update every signed-in device running the activityId (for activities started for a segment, list or tag). Add an alert to light the screen. Returns tokenCount 0 when no running copy has reported an update token.

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": {
      "activityId": "<activityId>",
      "contentState": "<contentState>"
    },
    "name": "update_live_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
alertNoAlert shown with the push: title and/or body, plus an optional sound name such as "default".
emailNoContact whose activity it is. Provide email or subscriberId, or set broadcast instead.
priorityNohigh (default) delivers now and counts against Apple's update budget; low does not count against it. Pushes with an alert always go at high priority.
broadcastNotrue: send to every signed-in device running this activityId, of any contact, e.g. an activity started for a segment, list or tag. Use instead of email/subscriberId (ignored when either is set), never for a per-person id like an order. Needs the campaigns:send scope.
companyIdNoCompany ID. If not provided, uses the currently selected company.
staleDateNoWhen iOS shows the activity as out of date: Unix seconds or an ISO 8601 date.
activityIdYesYour id for this activity, e.g. "order-1234" (1-128 letters, digits, ".", ":", "-", "_"). Start sets it; update and end target it.
contentStateYesYour Swift ContentState as a JSON object; Android apps receive the same object in their Live Update renderer. Date fields decode as seconds since 2001-01-01 on iOS unless your struct decodes them differently.
subscriberIdNoSubscriber whose activity it is.
relevanceScoreNoOrders a person's concurrent activities; higher shows first (0-1000000).

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
eventNostart, update or end.
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.
jobIdsNoQueued delivery job IDs, one per batch.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
platformsNotokenCount per platform: {ios, android}. iOS goes through APNs, Android Live Updates through FCM.
activityIdNoThe activity the push targets.
tokenCountNoDevices the push was queued for; 0 means nothing was sent.
contactCountNoDistinct contacts those devices belong to: 0 when nothing was sent, at most 1 for a per-contact call, and the contacts reached for a segment, list, tag or broadcast.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, openWorldHint=true and readOnlyHint=false, so the mutation profile is covered. The description's genuinely additive content is the return semantic ('Returns tokenCount 0 when no running copy has reported an update token') and the alert-side effect ('Add an alert to light the screen'). However, it doesn't say what happens when activityId doesn't exist, or whether updates are recoverable, which matters for a destructive tool.

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 sentences, front-loaded with the core action and scope, followed by the addressing requirement and the return caveat. It is dense but every sentence carries information; the parenthetical '(one per device, iOS and Android Live Updates)' is slightly heavy but earns its place by clarifying fanout.

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 10-parameter, nested-object, destructive tool, the description covers scope, addressing mode, and an edge-case return value; an output schema exists, so return shape needn't be spelled out further. What's missing is guidance about behavior against unknown activityIds and whether repeated updates are safe to retry (non-idempotent per annotations).

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 the baseline is 3. The description reinforces the mutual exclusion between email/subscriberId and broadcast, and adds the alert's visible effect, but the per-parameter details (scope requirement, priority budget, staleDate formats) live in the schema rather than here.

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 plus precise scope: 'Update every running copy of a contact's Live Activity (one per device, iOS and Android Live Updates) with new content state.' The fanout scope ('every running copy') is the key distinguishing fact versus a per-device write. It doesn't explicitly contrast with start_live_activity or end_live_activity, so it falls short of full sibling differentiation.

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

Usage Guidelines4/5

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

It states a concrete selection rule: supply email or subscriberId, or use broadcast: true for activities started for a segment, list, or tag. The '(for activities started for a segment, list or tag)' clause tells the agent which situations call for broadcast mode. It does not say when to call this versus start_live_activity or end_live_activity, but the alternative within the tool is well covered.

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