Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

preview_sequence_from_example

Preview the first three emails of a public gallery sequence rewritten for your brand without creating a sequence or email; returns subjects, preview text, HTML, original days, and omitted count.

Instructions

Preview the first 3 emails of a public Sequenzy email gallery sequence written for this company, without creating a sequence or email (a company's first AI generation saves its inferred email design direction, like generate_email). Each email keeps the example's layout with every word rewritten; returns subject, previewText, HTML and the original day for each, plus how many emails were left out. Pass website to write it for another site's brand instead. Requires sequences:write. Takes 10-30 seconds. Call create_sequence_from_example to create the draft sequence with every email. Accepts a gallery sequence URL or brand plus sequence slugs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preview_sequence_from_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoEmail gallery page URL. Provide either url, or brand plus the example slug; not both.
brandNoGallery brand slug from the URL (/email-examples/brands/{brand}/...). Use with the example slug instead of url.
briefNoYour direction for the remix, such as an offer or feature to highlight; where it conflicts with the example, the brief wins. Up to 1000 characters.
websiteNoOptional site or domain, like acme.com, to write the preview for instead of this company's own brand.
sequenceNoGallery sequence slug from the URL (/sequences/{sequence}). Use with brand instead of url.
companyIdNoCompany ID. If not provided, uses the currently selected company.

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.
exampleNoThe gallery sequence it is modeled on: brand, name, emailCount and url.
messageNoThat nothing was saved, and how to clone it.
previewNoThe unsaved rewrite: brandName, website (null for this company's own brand), emails (stepNumber, day, originalSubject, subject, previewText, html for each of the first emails), remainingEmailCount and failedEmailCount.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the 10-30 second latency, the sequences:write requirement, and the non-obvious side effect that the company's first AI generation persists an inferred email design direction (explaining why readOnlyHint is false). It also states the ghost-text rewriting behavior and what is returned versus what is meant to be created afterward.

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?

Front-loaded with the verb and scope, and every sentence carries information about behavior, permissions, timing, or returns. It is dense and packs return fields, timing and routing into one block, which slightly hurts scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the aspects an agent needs despite the tool's complexity: cost/latency, permission requirement, side effects, output fields, and the follow-up creation tool. An output schema exists, so the return-value detail is a bonus rather than a gap.

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 the baseline is 3; the schema already documents url, brand, brief, website, sequence and companyId. The description adds only a few clarifications, such as the brief-wins-over-example rule and the url-versus-brand-plus-slug choice, most of which duplicate schema text.

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?

Names a specific verb and resource (preview the first 3 emails of a gallery sequence) plus scope constraints ('written for this company', 'without creating a sequence or email'). It clearly distinguishes itself from create_sequence_from_example, which the description names explicitly.

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?

Explicitly routes the agent to create_sequence_from_example when a full draft sequence is wanted, and explains the website parameter for previewing another brand. It does not address the sibling preview_sequence (previewing an existing sequence), leaving that comparison to inference.

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