Skip to main content
Glama

callingly

Create, edit or duplicate a follow-up sequence

save_sequence

Create a follow-up sequence, update one (its name, steps, after-hours steps and teams), or duplicate one. To edit steps, read them with get_account_setup (sequence_id), change the list and send the whole list back.

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": {
      "action": "<action>"
    },
    "name": "save_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSequence name (max 255). Required for create.
actionYescreate: a new sequence. update: change sequence_id (only the arguments you pass change). duplicate: copy sequence_id as "<name> (copy)", with no teams.
team_idsNoThe complete list of teams that should run this sequence (ids from get_settings). Omit to leave team assignments unchanged. A team taken off is moved to another sequence.
sequence_idNoThe sequence to update or duplicate.
during_stepsNoSteps run while the team is available, in order (the whole list; replaces the current steps). Types: - wait: unit immediately|minutes|hours (value = how many) or days (value days later, until time) or same_day (until time, HH:MM). The first wait is the initial delay: immediately, minutes or hours only. - call: ring the team's reps. ai-call: the team's AI agent calls; optional introMessage / voicemailMessage (max 500, blank = the agent's own) and isVoicemail (null = the agent's setting). - sms: text the lead (body; merge tags like {{lead.first_name}}, {{lead.<custom field slug>}}, {{from.company}}). An sms right before a call is sent before dialing; right after a call, only if the call is not answered. - team: reassign the lead to another team (teamId, from get_settings); the steps after it are dialled by that team. - tag / untag: add a tag to the lead, or remove one (tagId, from get_account_setup). - stage: move the lead to a stage (stageId, from get_account_setup). - owner: make a user the lead's owner (userId, from get_settings). - sequence: once the steps above run out, move the lead to another sequence (sequenceId, from get_account_setup) instead of ending; it starts that sequence's steps. Must be the last step, not right after a wait, and can't lead back to this sequence.
outside_stepsNoSteps when a lead arrives outside business hours: at most one sms (body), one ai-call and, last, one sequence (sequenceId: move the lead to that sequence instead of waiting for business hours or ending). Pass [] for none.
reschedule_after_hoursNoFor a lead that arrives outside business hours: true = after outside_steps, wait until the team is next available and run during_steps; false = the sequence ends after outside_steps. Ignored when outside_steps ends with a sequence step. Defaults to true on create.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / during_steps / description
      Previous value: -"Steps run while the team is available, in order (the whole list; replaces the current steps). Types:\n- wait: unit immediately|minutes|hours (value = how many) or days (value days later, until time) or same_day (until time, HH:MM). The first wait is the initial delay: immediately, minutes or hours only.\n- call: ring the team's reps. ai-call: the team's AI agent calls; optional introMessage / voicemailMessage (max 500, blank = the agent's own) and isVoicemail (null = the agent's setting).\n- sms: text the lead (body; merge tags like {{lead.first_name}}, {{lead.<custom field slug>}}, {{from.company}}). An sms right before a call is sent before dialing; right after a call, only if the call is not answered.\n- sequence: once the steps above run out, move the lead to another sequence (sequenceId, from get_account_setup) instead of ending; it starts that sequence's steps. Must be the last step, not right after a wait, and can't lead back to this sequence."New value: +"Steps run while the team is available, in order (the whole list; replaces the current steps). Types:\n- wait: unit immediately|minutes|hours (value = how many) or days (value days later, until time) or same_day (until time, HH:MM). The first wait is the initial delay: immediately, minutes or hours only.\n- call: ring the team's reps. ai-call: the team's AI agent calls; optional introMessage / voicemailMessage (max 500, blank = the agent's own) and isVoicemail (null = the agent's setting).\n- sms: text the lead (body; merge tags like {{lead.first_name}}, {{lead.<custom field slug>}}, {{from.company}}). An sms right before a call is sent before dialing; right after a call, only if the call is not answered.\n- team: reassign the lead to another team (teamId, from get_settings); the steps after it are dialled by that team.\n- tag / untag: add a tag to the lead, or remove one (tagId, from get_account_setup).\n- stage: move the lead to a stage (stageId, from get_account_setup).\n- owner: make a user the lead's owner (userId, from get_settings).\n- sequence: once the steps above run out, move the lead to another sequence (sequenceId, from get_account_setup) instead of ending; it starts that sequence's steps. Must be the last step, not right after a wait, and can't lead back to this sequence."
    • addedInput schema / properties / during_steps / items / properties / stageId
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / during_steps / items / properties / tagId
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / during_steps / items / properties / teamId
      Added value: +{
      +  "type": "integer"
      +}
    • changedInput schema / properties / during_steps / items / properties / type / enum
      Previous value: -[
      -  "wait",
      -  "call",
      -  "ai-call",
      -  "sms",
      -  "sequence"
      -]New value: +[
      +  "wait",
      +  "call",
      +  "ai-call",
      +  "sms",
      +  "team",
      +  "tag",
      +  "untag",
      +  "stage",
      +  "owner",
      +  "sequence"
      +]
    • addedInput schema / properties / during_steps / items / properties / userId
      Added value: +{
      +  "type": "integer"
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / during_steps / description
      Previous value: -"Steps run while the team is available, in order (the whole list; replaces the current steps). Types:\n- wait: unit immediately|minutes|hours (value = how many) or days (value days later, until time) or same_day (until time, HH:MM). The first wait is the initial delay: immediately, minutes or hours only.\n- call: ring the team's reps. ai-call: the team's AI agent calls; optional introMessage / voicemailMessage (max 500, blank = the agent's own) and isVoicemail (null = the agent's setting).\n- sms: text the lead (body; merge tags like {{lead.first_name}}, {{lead.<custom field slug>}}, {{from.company}}). An sms right before a call is sent before dialing; right after a call, only if the call is not answered."New value: +"Steps run while the team is available, in order (the whole list; replaces the current steps). Types:\n- wait: unit immediately|minutes|hours (value = how many) or days (value days later, until time) or same_day (until time, HH:MM). The first wait is the initial delay: immediately, minutes or hours only.\n- call: ring the team's reps. ai-call: the team's AI agent calls; optional introMessage / voicemailMessage (max 500, blank = the agent's own) and isVoicemail (null = the agent's setting).\n- sms: text the lead (body; merge tags like {{lead.first_name}}, {{lead.<custom field slug>}}, {{from.company}}). An sms right before a call is sent before dialing; right after a call, only if the call is not answered.\n- sequence: once the steps above run out, move the lead to another sequence (sequenceId, from get_account_setup) instead of ending; it starts that sequence's steps. Must be the last step, not right after a wait, and can't lead back to this sequence."
    • addedInput schema / properties / during_steps / items / properties / sequenceId
      Added value: +{
      +  "type": "integer"
      +}
    • changedInput schema / properties / during_steps / items / properties / type / enum
      Previous value: -[
      -  "wait",
      -  "call",
      -  "ai-call",
      -  "sms"
      -]New value: +[
      +  "wait",
      +  "call",
      +  "ai-call",
      +  "sms",
      +  "sequence"
      +]
    • changedInput schema / properties / outside_steps / description
      Previous value: -"Steps when a lead arrives outside business hours: at most one sms (body) and one ai-call. Pass [] for none."New value: +"Steps when a lead arrives outside business hours: at most one sms (body), one ai-call and, last, one sequence (sequenceId: move the lead to that sequence instead of waiting for business hours or ending). Pass [] for none."
    • addedInput schema / properties / outside_steps / items / properties / sequenceId
      Added value: +{
      +  "type": "integer"
      +}
    • changedInput schema / properties / outside_steps / items / properties / type / enum
      Previous value: -[
      -  "sms",
      -  "ai-call"
      -]New value: +[
      +  "sms",
      +  "ai-call",
      +  "sequence"
      +]
    • changedInput schema / properties / reschedule_after_hours / description
      Previous value: -"For a lead that arrives outside business hours: true = after outside_steps, wait until the team is next available and run during_steps; false = the sequence ends after outside_steps. Defaults to true on create."New value: +"For a lead that arrives outside business hours: true = after outside_steps, wait until the team is next available and run during_steps; false = the sequence ends after outside_steps. Ignored when outside_steps ends with a sequence step. Defaults to true on create."
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

The only annotation is destructiveHint=false, so the description must carry the behavior burden, and it does disclose the highest-risk trait: step edits are read-modify-write, so an agent that sends a partial list loses the rest. Gaps remain on permissions, what the call returns (no output schema), and side effects such as teams being reassigned when removed, which appear only in 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no waste. The three modes are front-loaded, and the procedural edit recipe follows immediately with no redundant restatement of schema content.

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 seven-parameter mutation tool with exhaustive schema documentation, the description covers purpose, update scope, and the crucial edit workflow. What is absent is any statement of return value (there is no output schema) and any note of permission or plan requirements before a destructive-feeling full-list replacement.

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 100%, so baseline is 3, but the description adds value by naming the updateable surfaces (name, steps, after-hours steps, teams) and by specifying the read-then-resubmit pattern for the step arrays, which no individual property description conveys. The detailed step-type semantics are carried by the schema, not the description.

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?

The description gives a specific verb and resource for all three modes ('Create a follow-up sequence, update one ... or duplicate one') that map cleanly onto the action enum, and it names the read-side tool (get_account_setup) for step retrieval. What is missing is differentiation from the adjacent enrollment sibling add_to_sequence, so an agent could still confuse 'create a sequence' with 'put a lead into a sequence'.

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 states which fields update can change and prescribes the exact procedure for step edits: read with get_account_setup(sequence_id), modify the list, send the whole list back. It gives no exclusions, e.g. when to duplicate instead of creating fresh, or when to prefer add_to_sequence.

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