Skip to main content
Glama

Activate sequence

activate_sequence

Activate a draft or paused sequence so triggers enrol contacts and due steps run. Returns the sequence with status "active". Errors: sequence_empty, from_required (set a From address with a sender on a verified domain), invalid_branch, sequence_not_found. Next: enroll_contact_in_sequence to start one contact now, or wait for the trigger.

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": {
      "sequence_id": "<sequence_id>"
    },
    "name": "activate_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequence_idYesSequence id, such as "seq_01j9...", from list_sequences or create_sequence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the generic profile (not read-only, not destructive, not idempotent, open-world); the description adds real behavioral context the annotations cannot convey — that activation causes triggers to enrol contacts and due steps to fire, what the response contains, and four named error conditions including a remedy for from_required (set a From address on a verified domain). The remaining gap is that it does not say what happens if the sequence is already active, which matters given idempotentHint=false.

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 tight sentences with a clear front-loaded action/effect pair, a return statement, an errors clause, and a routing clause. Every sentence carries information an agent needs, and the "Next:" marker makes the follow-up path scannable.

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 one-parameter mutation with no output schema, the definition covers the state transition, the observable side effects, the return value, and the four failure modes, which is close to complete. The only meaningful omission is behavior when the target sequence is already active, relevant because the annotations flag the tool as non-idempotent.

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?

There is a single parameter and the schema already documents it at 100% coverage, including its format example and provenance (list_sequences or create_sequence), so the description adds nothing beyond that and the baseline 3 applies. The mention of a From address in the from_required error could momentarily mislead an agent into thinking a sender can be supplied here, though the schema makes clear only sequence_id is accepted.

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 description names a specific verb and resource ("Activate a draft or paused sequence") and immediately states the consequential effect ("triggers enrol contacts and due steps run"), which is exactly the distinction an agent needs against pause_sequence or enroll_contact_in_sequence. It also states the resulting state ("status 'active'"), so the tool is fully identifiable 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?

Preconditions are explicit (the sequence must be in draft or paused state) and the definition routes the agent forward with "Next: enroll_contact_in_sequence to start one contact now, or wait for the trigger," which clarifies when the bulk activation path applies versus the single-contact path. It stops short of naming an explicit "do not call when already active" exclusion, so it is strong but not exhaustive.

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