Skip to main content
Glama

00Widget

Update a Live Activity

update_live_activity
Destructive

Push new content state to a running Live Activity. A new title is stored and returned by list_live_activities but the Lock Screen keeps the original — it is frozen at start.

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

Input Schema

NameRequiredDescriptionDefault
iconNoNew SF Symbol name. `null` falls back to the one `kind` implies.
unitNoNew unit. `null` removes it.
alertNoSends this one push as a visible notification. For state changes worth interrupting someone for — finished, failed — and nothing else; it does not rename the activity.
chartNoThe whole current window, replacing the last one. `null` removes the plot.
itemsNoThe complete row list, replacing what is there. `[]` or `null` returns the activity to its top-level fields and lets a `chart` show again.
stateNoWhere the run is up to now.
titleNoAccepted and stored, but it does NOT change the running activity: the title is frozen when it starts. Leave it out of updates.
valueNoNew headline display string. `null` removes it.
endsAtNoA new expected finish. `null` removes the countdown, and takes `countdownGranularity` with it.
signalNoNew contextual signal for the activity shell. `null` returns to the kind's normal accent.
staleAtNoNew stale time. Send it on every update, a little past when you next expect to publish, so the activity marks itself out of date if this is the last update you send. `null` removes it, which leaves a stalled activity looking current — only do that on the way to `end`.
progressNoNew progress, 0-1. `null` removes the bar — which is what a run that has finished should send.
subtitleNoNew prose under the title. `null` removes it.
statusIconNoNew runtime glyph. `null` removes it — which is what an activity that has stopped doing the thing should send.
relevanceScoreNoNew Smart Stack ranking. Spike it on the finishing update so the wrist surfaces it.
externalActivityIdYesThe id you started the activity with.
countdownGranularityNoHow the countdown reads. Omitted, the activity keeps its current setting.

Output Schema

NameRequiredDescriptionDefault
okYes
warningsYesAdvisory notes about how this activity will RENDER, on a call that otherwise succeeded. Empty when there is nothing to say. These never affect whether the request worked; act on them anyway, because the operator's Lock Screen is the one thing you cannot look at.
apnsResultYes
staleAtPushedYesThe stale date THIS push carried, not the one stored. `null` means this push set none, so nothing marks the activity out of date if you stop here — send `staleAt` on the next one.
pendingUpdatedYesTrue when the new state was stored but no device holds a token for this activity yet, so nothing was pushed. A device that registers later is sent the current state then, so nothing needs re-sending.
recipientResultsYes
registeredDevicesYesHow many of the operator's devices hold a token for this activity and were pushed this update. Set it against `pushToStartAttempted`: the difference is devices that were sent the start and have not registered it.
activityInstanceIdYes
secondsSincePreviousUpdateYesHow long this activity spent showing its previous state. There is no error for going quiet — every call you make answers 200 and the ones you skip return nothing — so this is the signal that you have. If it is larger than the work between updates should take, the operator has been reading a stale Lock Screen as current.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the write/destructive/open-world profile, so the safety burden is partly carried. The description adds one genuinely non-obvious trait — that a new title is stored and listed but never reaches the Lock Screen because it is frozen at start — which is exactly the kind of gotcha that prevents a wrong call. However, it says nothing about merge-vs-replace semantics for the other 16 fields or what happens when the activity is not running, which matters more for a destructive update.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing, with the caveat placed immediately after the action so an agent reads it before constructing the call. No filler.

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?

An output schema exists and the input schema is exhaustive, so return-value explanation is rightly omitted. But for a 17-parameter destructive update, the description never says whether omitted fields are preserved or cleared, nor what failure looks like if the activity has ended — a meaningful gap the structured fields do not cover.

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% and the per-parameter docs are unusually rich (null semantics, replacement behavior, ranges). The description adds only the title caveat, which the schema itself already states, so it largely restates rather than extends parameter meaning.

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?

"Push new content state to a running Live Activity" names a specific verb and resource, and the qualifier "running" distinguishes it from start_live_activity and end_live_activity without needing to inspect their schemas.

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?

The precondition that the activity must already be running is stated up front, which implicitly routes creation and termination to the sibling tools. It stops short of naming those alternatives or saying explicitly when not to call this.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.