Skip to main content
Glama

sequences_create

A sequence is an ordered list of email Steps — a first touch plus 2–5 follow-ups is typical. Create the sequence first, then add steps via steps_create (or pass them inline if the serializer supports it).

Template syntax inside step subject/body:

  • ${first_name}, ${company_name}, ${city}, or any context_field key → substituted from the lead at render time.

  • {{Write a 1-line intro mentioning their recent hire …}} → LLM-generated snippet per lead (costs COMPOSE_EMAIL connects). Use sparingly: one {{prompt}} per email is plenty.

  • {Hi|Hello|Hey} → spintax, random pick per message — improves deliverability by varying the send body.

Good sequence structure (cold-outreach best practice): short text-only emails, problem → evidence → soft CTA, spaced 3–5 days apart, minimum 4 steps. No tracking pixels, no images, no links in the signature. Keep {unsubscribe_link} in the footer if targeting EU/Canada.

Method: POST /api/v1/workspaces/{workspace_sqid}/sequences/

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

Input Schema

NameRequiredDescriptionDefault
nameYes
objectiveNoInsert the action you want your recipient to take as a result of this sequence. For example, 'Schedule a call,' 'Sign up for a demo,' 'Download the whitepaper,' 'Join the webinar', etc.
is_threadedNoSend every step after the first as a reply in the same email thread: the subject becomes 'Re: <first subject>', the previous message is quoted below the new text, and the In-Reply-To / References headers are set so mail clients group the messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the POST endpoint and that `{{prompt}}` snippets cost COMPOSE_EMAIL connects, but omits permissions, idempotency, duplicate-name behavior, and what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The text is organized with headers and front-loads the create instruction, but substantial sections on template syntax and email structure pertain to `steps_create` rather than this three-parameter creation tool. Much of the content does not earn its place in this specific definition.

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?

The workflow gap is filled by explaining the create-then-add-steps relationship. However, for a create tool with no annotations and no output schema, the definition should also cover return values, permissions, and side effects, which are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description never mentions the parameters `name`, `objective`, or `is_threaded`. Schema description coverage is moderate at 67%: `objective` and `is_threaded` are well described in the schema, but the required `name` parameter lacks description and the prose adds no meaning beyond 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?

The description defines a sequence and explicitly says to create it first, then add steps via `steps_create`. That names the verb, resource, and the sibling relationship clearly enough for an agent to distinguish this tool from step creation.

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 gives a clear workflow: create the sequence first, then add steps either via `steps_create` or inline. It stops short of explicitly comparing against other sequence tools like `sequences_copy` or stating when not to use this one, but the usage context is clear.

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.