Skip to main content
Glama

Edit a sequence

update_sequence
Destructive

Edit an email sequence's name, mailbox pool, assignment, send window, or steps; pause active sequences before changing steps to avoid disrupting in-progress leads.

Instructions

Edit a sequence's name, mailbox pool, assignment, send window or steps (steps replace all existing ones, and an active sequence has to be paused before its steps change). Changing mailbox_ids moves leads not yet emailed to the new pool; leads already mid-thread stay on their mailbox, or stop if it was removed.

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": "update_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
stepsNo
timezoneNo
assignmentNo
mailbox_idsNo
sequence_idYes
window_end_hourNo
window_start_hourNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by disclosing the specific destructive consequences: steps replace all existing ones, and changing mailbox_ids moves leads not yet emailed while mid-thread leads stay put or stop if their mailbox was removed. Those are exactly the irreversible side effects an agent needs before calling a destructive mutation, and they cannot be derived from the schema.

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?

Two sentences, front-loaded with the editable surface before the caveats, and no filler. The parenthetical aside about pausing is slightly dense but carries genuinely load-bearing information rather than noise.

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 8-parameter destructive mutation with 0% schema description coverage and no output schema, the description covers the highest-risk behaviors thoroughly but leaves multiple numeric and enum parameters unexplained. An agent could still call it, but might set window hours or assignment without understanding their effect.

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 0%, so the description must carry the load; it explains steps replacement behavior and mailbox_ids lead migration well, and names the editable fields. However, the assignment enum values (capacity vs even), timezone, window_start_hour/window_end_hour, and delay_days receive no meaning from the description, leaving several parameters undocumented in both places.

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 plus resource and enumerates exactly which attributes can be edited (name, mailbox pool, assignment, send window, steps). An agent can tell this is a partial-update tool on an existing sequence, distinguishing it from create_sequence or start_sequence without opening the schema, though no sibling is named directly.

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?

Provides a concrete precondition for the riskiest path: an active sequence must be paused before its steps change, which implicitly routes the agent to pause_sequence first. It also clarifies the replace-not-append semantics of steps, which is a usage decision. It stops short of naming alternatives explicitly, so it sits below a full when/when-not statement.

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