Skip to main content
Glama

Update a proactive message

update_proactive_message
Destructive

Changes a message. Each part given (content, audience, pages, trigger, frequency, schedule, goal) replaces that part; parts left out stay. A live message must stay complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNoWhat counts as success: { event (a journey trigger name such as page.visited, or null), name (for custom.event), days, stop: stop showing it to people who reached it }.
nameNoInternal name.
pagesNoPage paths: { include: ["/pricing", "/docs/**"], exclude: [] }. No includes means every page.
contentNoBy kind. chat: { text (markdown, at most 300 chars, {{first_name}} works), sender: {type:"agent"} | {type:"member",userId} | {type:"team",name}, display: "bubble"|"messenger", buttons: [{label, action: url|chat|article|dismiss|reply, value}], replyable }. popup: { slides: [{ title, text, button: {label, action, value} | null, media: null }], size: small|medium|large, layout: top|side|background, dismissible }. banner: { text (at most 120 chars), position: top|bottom, style: inline|floating, tone: accent|neutral|warning, cta: { type: none|link|button, label, url }, dismissible }.
triggerNoPopups and banners only: when it shows. { type: "load" } | { type: "delay", seconds } | { type: "scroll", percent } | { type: "exit" } | { type: "time_on_page", seconds } | { type: "inactivity", seconds } | { type: "click", selector } | { type: "event", name } | { type: "manual" }.
audienceNoWho sees it: { who: all|identified|anonymous|journey ("journey" only when a journey sends it), device: any|desktop|mobile, utm: {source, medium, campaign}, conditions: rules on contact fields }.
priorityNoHigher shows first.
scheduleNo{ start, end }: ISO dates or null.
frequencyNo{ repeat: once|session|days, days (for "days"), skipIfChatted: skip people who chatted in the last day }.
messageIdYesProactive message id from list_proactive_messages.
productIdNoOne product, or null for every product.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false), so the description's real contribution is the merge semantics: each supplied part replaces that part and omitted parts persist, with live messages required to remain complete. That partial-replace behavior is genuinely non-obvious for an 11-parameter mutation and is exactly the kind of context annotations cannot convey. It stops short of saying what is lost or whether the update is reversible.

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 short sentences, front-loaded with the action, then the replace rule, then the constraint. No filler. The opening 'Changes a message' is a touch thin for a mutation tool, but nothing is wasted.

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?

For an 11-parameter mutation with no output schema, the description covers the essential write semantics but leaves gaps: it does not say whether the target must be a draft, what happens when an update would invalidate a live message, or how the messageId relates back to list_proactive_messages. Adequate, not complete.

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 description coverage is 100%, so the baseline is 3; the description raises it by explaining that each listed field is swapped wholesale rather than merged field-by-field, which the schema does not state. Minor gap: the enumerated list omits name, priority, and productId, which are also present in the schema.

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 ('Changes') on a specific resource and enumerates the mutable parts, plus the non-obvious patch semantics. The resource is only called 'a message' rather than 'proactive message', so the agent relies on the title and sibling names (create_/delete_/get_proactive_message) to disambiguate, but the intent is clear.

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?

No when-to-use guidance and no named alternatives. Nothing tells the agent this is the edit counterpart to create_proactive_message or that list_proactive_messages supplies the required messageId (that is only in the schema). The lone constraint, 'A live message must stay complete', is a hint at validation rather than usage routing.

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.

Resources