Skip to main content
Glama
Arsel-SA

Arsel MCP Server

Official
by Arsel-SA

Update In-App Campaign

update-in-app-campaign
Destructive

Modify an existing in-app campaign while it is live or scheduled. Confirm with the user before editing an active campaign; ended or archived campaigns cannot be edited.

Instructions

Update an in-app campaign. Unlike other channels an active campaign is editable, and devices show the change on their next fetch: before editing a live campaign you MUST confirm with the user. ended and archived campaigns cannot be edited. Omitted fields are unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe in-app campaign id.
nameNo
layoutNo
buttonsNo
contentNoMessage content. With no close button, at least one button must dismiss.
ends_atNoISO 8601 date-time; omit for an open-ended campaign.
tag_idsNoTags to target.
triggerNoWhen the message shows on the device.
list_idsNoLists to target.
priorityNoHigher wins when several messages are eligible at once.
starts_atNoISO 8601 date-time, e.g. 2026-09-01T09:00:00Z.
grant_onlyNoOnly shown to contacts an automation grants it to.
descriptionNo
segment_idsNoSegments to target.
display_rulesNoFrequency caps. Defaults to once per session, three times ever, a day apart.
target_platformsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=false, but the description adds non-obvious behavior the annotations cannot convey: that edits to a live campaign propagate to devices on their next fetch, that only `active` campaigns are editable contrary to other channels, and that omitted fields are left unchanged. This is the kind of lifecycle and confirmation context an agent needs before mutating a live campaign.

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?

Three dense sentences, each carrying distinct load: the action, the editability/live-propagation rule, and the confirmation requirement, then the omit-unchanged semantic. Nothing is redundant and the critical constraint is front-loaded.

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 16-parameter mutation tool with no output schema, the description covers the dangerous edges (which states block edits, live propagation, user confirmation, partial updates). It does not touch validation constraints on the nested button/content structures, but the schema carries those, so the remaining gap is minor.

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 a middling 69% across 16 parameters, and the nested `buttons` fields are largely undocumented. The description compensates for the single most important gap by stating "Omitted fields are unchanged," establishing PATCH semantics that the schema never states explicitly.

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 and resource ("Update an in-app campaign") and the resource word cleanly separates it from the sibling update-email-campaign / update-sms-campaign / update-push-campaign tools. An agent can identify the target entity without opening the schema.

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 gives explicit when-not conditions ("ended and archived campaigns cannot be edited") and a mandatory process step ("before editing a live campaign you MUST confirm with the user"), which is unusually actionable. It does not name alternative tools such as create-in-app-campaign or clone-in-app-campaign, so it falls short of full alternative routing.

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