Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

cancel_sequence_audience_enrollment

Destructive

Stop an audience enrollment run: cancel queued runs immediately and halt running runs after the current batch, leaving already enrolled contacts in the sequence.

Instructions

Stop an audience enrollment run. A queued run is cancelled immediately; a running run stops after the batch it is currently enrolling. Contacts already enrolled stay in the sequence (use cancel_sequence_enrollments to remove them).

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>",
      "runId": "<runId>"
    },
    "name": "cancel_sequence_audience_enrollment"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesAudience enrollment run ID to cancel.
companyIdNoCompany ID. If not provided, uses the currently selected company.
sequenceIdYesSequence ID.

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.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
audienceEnrollmentNoThe run after cancellation: status cancelled, or running with cancelRequestedAt while it stops.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds meaning they cannot: cancellation is not instantaneous for in-flight runs, it takes effect at a batch boundary, and previously enrolled contacts are not rolled back. That granularity is exactly what an agent needs before invoking a destructive cancel.

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 short sentences, front-loaded with the action, then the state-dependent behavior, then the disambiguation with the sibling tool. Every sentence carries distinct information and nothing repeats the annotations or schema.

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?

With an output schema and full annotation coverage, the description only needs to explain behavior, which it does well. It leaves one minor gap: what happens for runs that are already finished or already cancelled, which an agent canceling by runId may encounter.

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 runId, sequenceId, and companyId (with its default-company fallback) are already fully documented. The description adds no format, ID-source, or validity constraints for these parameters, so the baseline of 3 applies.

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?

"Stop an audience enrollment run" gives a specific verb and resource, and the closing clause distinguishes this tool's effect from cancel_sequence_enrollments, which removes contacts rather than halting the run. An agent can tell the two cancellation tools apart without opening either schema.

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?

It states the two run states and what happens in each (queued run cancelled immediately, running run stops after the current batch) and explicitly names the alternative tool to use when the goal is removing already-enrolled contacts. Both the when and the when-not are 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