Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

set_sequence_recurring_enrollment

DestructiveIdempotent

Schedule recurring audience enrollment for a manual-trigger sequence daily, weekly, or monthly in a chosen timezone, with optional end dates and pause or remove controls.

Instructions

Make a manual-trigger sequence recurring: re-enroll an audience every day, on chosen weekdays, or on chosen days of the month (1-31 and/or the last day) at a time in an IANA timezone, for end-of-month updates, balance reminders or daily sends that are not tied to an event. Each run is an audience enrollment run (source recurring, visible in list_sequence_audience_enrollments): contacts who finished an earlier run enter again, contacts still in the sequence are skipped, one_time sequences never re-enroll anyone, and unsubscribed or bounced contacts never join. Nothing is enrolled until the first scheduled time; occurrences while the sequence is paused, disabled or closed are skipped, and a run that cannot start within 6 hours is skipped. Days past the end of a shorter month run on its last day. Requires trigger manual and audienceAutoEnroll off. Saving replaces any existing schedule; pass remove true to delete it. Returns the stored schedule, a description and upcomingRuns so you can confirm it reads as intended.

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": {
      "sequenceId": "<sequenceId>"
    },
    "name": "set_sequence_recurring_enrollment"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNo24-hour run time "HH:MM", e.g. "10:00". Required unless remove is true.
endsAtNoOptional ISO 8601 date-time after which no run starts, e.g. the end of the last day in the schedule's timezone. Omit for no end date (saving replaces the schedule, so omitting removes an earlier end date).
removeNoPass true to delete the schedule; other fields are then ignored. Runs already started and contacts already enrolled are not affected.
enabledNoDefaults to true. Pass false to keep the schedule but stop its runs.
audienceNoWho to enroll at each run, re-evaluated every time (same shape as enroll_sequence_audience). Required unless remove is true.
timezoneNoIANA timezone the time is read in, e.g. "Europe/London" or "UTC"; runs follow daylight saving. Required unless remove is true.
weekdaysNoFor weekly: days to run, 0 (Sunday) to 6 (Saturday). [1,2,3,4,5] is every weekday.
companyIdNoCompany ID. If not provided, uses the currently selected company.
frequencyNoHow often to run. Required unless remove is true. weekly needs weekdays; monthly needs monthDays.
monthDaysNoFor monthly: days of the month to run, 1 to 31, e.g. [1, 2]. Combine with lastDayOfMonth for the end of the month.
sequenceIdYesSequence ID.
enrollmentModeNoWho enters at each run: unlimited (everyone who matches; people still inside are skipped) or one_time (only people who never entered). Sets the sequence's enrollment mode, which also applies to enrollments started by hand. Omit to keep the current mode.
lastDayOfMonthNoFor monthly: also run on the last day of every month (28th to 31st). Can be the only day.

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.
messageNoWhat was saved and when the first run is.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
descriptionNoReadable summary of the schedule, or null.
upcomingRunsNoNext run times as ISO 8601 instants; empty while switched off or removed.
enrollmentModeNoWho enters at each run: unlimited (everyone who matches) or one_time (only people who never entered). The sequence's enrollment mode.
recurringEnrollmentNoThe stored schedule (same shape as get_sequence_recurring_enrollment), or null after remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description backs that up with specifics: saving replaces any existing schedule, remove does not affect runs already started or contacts already enrolled, and nothing happens until the first scheduled time. It also discloses non-obvious operational behavior beyond annotations: occurrences during paused/disabled/closed states are skipped, runs that cannot start within 6 hours are skipped, and out-of-range month days fall back to the last day of a shorter month.

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?

It is front-loaded with the core action and scheduling options, and nearly every clause carries unique information about enrollment behavior or skip conditions. It is a single dense block rather than segmented prose, which makes the skip/replace rules slightly harder to scan, but nothing is redundant with the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter mutation tool with nested audience objects and a destructive replace semantic, the description covers prerequisites, replacement behavior, skip conditions, and re-enrollment rules. An output schema exists and the description still notes what comes back (stored schedule, description, upcomingRuns) for confirmation, so nothing critical is missing.

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 coverage is already 100%, so the baseline is 3; the description earns extra credit by explaining the cross-parameter semantics the schema only hints at, notably that the audience is re-evaluated at every run and how enrollmentMode governs who re-enters versus who is skipped. It also clarifies the relationship between monthDays and lastDayOfMonth and that weekdays are required for weekly frequency, though exact value constraints live in the schema.

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?

Opens with a specific verb and resource: make a manual-trigger sequence recurring, with the concrete scheduling options (daily, chosen weekdays, chosen days of the month, IANA timezone). This is clearly distinguishable from siblings such as get_sequence_recurring_enrollment (read) and enroll_sequence_audience (one-off enrollment), which the description implicitly separates by contrasting 'one_time sequences never re-enroll' and by tying each run to an audience enrollment.

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

Usage Guidelines5/5

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

Gives explicit when-to-use examples (end-of-month updates, balance reminders, daily sends not tied to an event), states prerequisites ('Requires trigger manual and audienceAutoEnroll off'), and covers the removal path ('pass remove true to delete it') plus the replace-on-save behavior. An agent knows the conditions under which this tool is the right call and when a scheduled run will be silently skipped.

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