Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

create_campaign

Create a new email campaign as a draft, generate content from a prompt, or import native blocks, HTML, or a template; set audience targeting and sender settings.

Instructions

Create a new campaign. Omit all content fields to create an empty draft. prompt generates net-new content from natural language. blocks are finished caller-supplied Sequenzy content and html is preserved/imported markup. Pass emailPreset with native blocks to set Style > Format (minimal or branded); style is a prompt-generation hint only. Defaults to draft; status 'sent' only archives an already-sent campaign.

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

Input Schema

NameRequiredDescriptionDefault
htmlNoEmail HTML content. Mutually exclusive with `blocks`. Use this for imported provider campaigns. Raw HTML is stored as one opaque block. Sequenzy preserves that markup but does not add a company logo, branded native sections, or theme-driven block design. Use blocks for editor-native design, or a drafting prompt when you want Sequenzy to compose a new branded email. Merge tags resolve in this content but are always HTML-escaped; prefix a tag with 'html.' - e.g. {{html.subscriber.body_html}} - to insert a trusted subscriber attribute or variable holding prebuilt HTML unescaped. Injected HTML is sanitized (scripts, event handlers, and dangerous URLs stripped), must be final HTML, and renders raw only in HTML text position, never inside attributes.
nameYesCampaign name
toneNoPrompt generation tone: professional, casual, friendly. Only used with `prompt`.
styleNoPrompt generation style. Only used with `prompt`; this is not Style > Format. Pass 'designed' or 'plain' to force the designed or plain-text email style; other values (minimal, branded, promotional) are freeform prompt guidance and the company's email style preference decides. Use `emailPreset` to set branded or minimal chrome on native blocks.
blocksNoSequenzy email blocks. Use this for editor-compatible content, including conditional and repeat blocks. For provider-migrated HTML from another email platform, prefer the `html` field instead; Sequenzy stores it as one raw HTML block to preserve the original design. Use `styles` for per-block background, background opacity, text color, padding, border radius, border width, and border color. Recolor body copy with `styles.textColor` (or the top-level `textColor` alias), not with an inline `style` on `<p>` or `<span>`. Top-level style aliases such as `backgroundColor`, `backgroundOpacity`, `textColor`, `textAlign`, `borderColor`, `borderWidth`, and `borderRadius` are also accepted and saved under `styles`. Repeat blocks use { type: 'repeat', source: 'items', itemAlias: 'item', children: [...] }. Merge tags resolve in this content but are always HTML-escaped; prefix a tag with 'html.' - e.g. {{html.subscriber.body_html}} - to insert a trusted subscriber attribute or variable holding prebuilt HTML unescaped. Injected HTML is sanitized (scripts, event handlers, and dangerous URLs stripped), must be final HTML, and renders raw only in HTML text position, never inside attributes. Any block accepts a `conditions` array so it only renders for matching recipients; conditions must all match unless the block sets `conditionsMatch: "any"`, and a numeric path segment reads one list item (`goals.0:bias`). To branch on a value passed in transactional `variables` or an automation `event` payload, use { "id": "c1", "field": "variable", "operator": "is", "value": "plan:pro" }; "attribute" uses the same "name:value" form, while "email"/"firstName"/"lastName" use a plain comparison value. Live subscriber fields are "status", "tag", "list", "segment", "event", "emailProvider", "phone", "phoneCountry", "smsStatus", "added", "stripeProduct", "stripeCurrentProduct", "stripeTrialProduct", "commerceProduct", "commerceCollection", "emailSent", "emailDelivered", "emailOpened", "emailClicked", "emailBounced", and "emailComplained". They use the same field-specific values and operators as segment filters, for example { "id": "c2", "field": "segment", "operator": "is", "value": "seg_123" }, { "id": "c3", "field": "tag", "operator": "contains", "value": "vip" }, or { "id": "c4", "field": "event", "operator": "at_least", "value": "purchase:3:30d" }. Supported operators across fields are is, is_not, contains, not_contains, starts_with, not_starts_with, gt, gte, lt, lte, less_than, more_than, at_least, less_than_count, is_empty, is_not_empty, is_temporary_bounce, and is_permanent_bounce; each field accepts only its segment-filter operators. Recipients without a stored subscriber match use the OTHERWISE branch or hide a conditionally displayed block. For if/else, use a { type: "conditional-group", conditions: [...], ifBranch: { children: [...] }, elseBranch: { children: [...] } } block. `styles` applies to the block's own container, not to an inner rendered element. On a button block, `styles.backgroundColor` colors the band behind the button and `styles.textColor` does not reach the label - set the top-level `buttonColor` and `buttonTextColor` fields instead, or leave them unset to inherit the email theme's primary color. Unsupported fields are discarded and reported in the response `warnings` array rather than rejected. Polls and NPS surveys use a native poll block. For answer buttons use { "type": "poll", "variant": "options", "question": "What did you think?", "options": [{ "label": "Loved it", "value": "loved" }, { "label": "Not for me", "value": "not_for_me" }], "attributeKey": "email_feedback" }. For NPS use { "type": "poll", "variant": "nps", "question": "How likely are you to recommend us?", "options": [], "attributeKey": "nps_score", "npsLowLabel": "Not likely", "npsHighLabel": "Very likely" }. `attributeKey` stores the latest response for segmentation. Set `allowMultiple: true` on a text-only options poll to let recipients pick several answers: answer links then open a hosted selection page where the recipient checks any number of options and saves them in one submit, and `attributeKey` stores the list of selected values (filter with attribute `contains`). Multi-select polls cannot use option images or configurations whose encoded signed links exceed the delivery-safe size limit. Optional `appearance` picks the answer style: "soft" (default), "pill", "outline", "filled", "pop" (hard-shadow boxes), "brutal" (square uppercase slabs), "quiz" (A/B/C letter badges), or "minimal" (bare ruled rows). `optionLayout: "row"` puts text answers side by side. `accentColor` recolors every appearance, including "brutal". `optionRadius` sets answer-button corners in px (0 is square) independently of `styles.borderRadius`, while `questionColor` recolors only the question. `fontFamily` applies to the poll; `optionFontSize`, `optionFontWeight`, `optionLetterSpacing`, and `optionTextTransform` style answers, and the matching `questionFontSize`, `questionFontWeight`, `questionLetterSpacing`, and `questionTextTransform` fields style the question. Sizes and spacing are px, weights are 100-900, and transforms are "none" or "uppercase". `confirmationMessage` customizes the hosted thank-you page; `redirectUrl` sends respondents to another page with `?answer=<value>`. For a new image, call `upload_image_asset` first and insert its returned `imageBlock`. A responsive fixed-height screenshot crop uses { "type": "image", "src": "https://...", "alt": "Product dashboard", "width": 100, "widthType": "percent", "height": 320, "objectFit": "cover", "align": "center" }. A YouTube video block can override its still with { "type": "video", "videoUrl": "https://www.youtube.com/watch?v=...", "thumbnailUrl": "https://cdn.example.com/cover.jpg", "alt": "Watch the product tour" }. Replacing the blocks array without `thumbnailUrl` restores YouTube's own thumbnail; the video destination remains `videoUrl`. Minimal valid core examples: {"type":"heading","content":"Title","level":1}; {"type":"text","content":"<p>Paragraph with <strong>bold</strong></p>","variant":"paragraph"}; {"type":"list","variant":"bullet","items":[{"content":"First point"},{"content":"Second point"}]}; {"type":"steps","variant":"timeline","items":[{"title":"Connect","description":"Link your account."},{"title":"Launch","description":"Send your first campaign."}]}; {"type":"button","text":"Click Me","url":"https://example.com","variant":"primary"}; {"type":"image","src":"https://...","alt":"Description","width":100,"widthType":"percent","height":240,"objectFit":"cover","href":"https://example.com","align":"center"}. Heading and text use `content`; button uses `text` but also accepts `content` as an alias and defaults `variant` to `primary`. Image `widthType` accepts `percent` or `px`. Lists are their own block type, never a text variant: `text` accepts only variant paragraph, lead, or html and never accepts `items`, so a numbered list is {"type":"list","variant":"numbered","items":[{"content":"First"}]} and a visual numbered walkthrough is {"type":"steps","variant":"numbered","items":[{"title":"Step one","description":"What happens"},{"title":"Step two","description":"What happens next"}]}. List items carry `content`; steps items carry `title` plus an optional `description`. A list item nests under the item above it with `indent` 1 or 2. Call `get_email_block_schema` for the required and optional fields of any other block type. If that tool is not in the MCP tool list, enable it on the Sequenzy connector rather than inferring fields from live HTML; the same reference is also at `sequenzy://email-blocks` (MCP resource), `GET /api/v1/email-blocks` (API), and `sequenzy blocks <type>` (CLI).
labelsNoOptional label names to assign. Missing labels are created automatically.
promptNoGenerate campaign blocks from a prompt. Generated blocks include the company's logo and footer, and the created campaign inherits the company brand font. Mutually exclusive with `html`, `blocks`, and `templateId`.
sentAtNoISO date-time for an imported/already-sent campaign. Only valid when status is sent; defaults to now if omitted.
statusNoInitial status: draft or sent. Defaults to draft. Use sent only for imported/already-sent campaigns; it does not send email or create delivery history.
listIdsNoShorthand for targeting one or more lists. Equivalent to targetLists {type:'lists', listIds}. Mutually exclusive with `targetLists` and `segmentId`.
replyToNoReply-To address for this campaign. A reply profile is created when needed.
subjectNoEmail subject line. Optional when `prompt` is provided because the generated subject will be used.
fromNameNoDisplay name recipients see, e.g. 'Brennon at TradeTally'. Selects the sender identity of that name on fromEmail, creating it when the address has no identity by that name; the mailbox's other display names, and everything pinned to them, are untouched. Requires fromEmail; omit it when using senderProfileId, which already carries its own display name.
companyIdNoCompany ID to create the campaign in. If not provided, uses the currently selected company.
fromEmailNoFrom address for this campaign. Its domain must be configured and verified; a sender profile is created when needed.
segmentIdNoShorthand for targeting one saved segment. Equivalent to targetLists {type:'segment', segmentId}. Mutually exclusive with `targetLists` and `listIds`.
templateIdNoUse a template instead of html
attachmentsNoFiles attached to every recipient's email, including CC/BCC copies and test sends: up to 10 files and 5MB in total. Each item has a filename plus Base64 `content` or a public `path` URL. Inline images (contentId) are not supported on campaigns. If a file cannot be fetched or is too large when sending starts, nothing is sent and the campaign returns to draft.
emailPresetNoPer-email Style > Format for native Sequenzy blocks, including emails with supported custom HTML blocks. Use minimal for a direct text-forward note without the company logo and with the simple footer, or branded for branded chrome. This does not change the company-wide default and is not `style`, which is a prompt-generation hint valid only with `prompt`. Not a lossless toggle: minimal deletes standalone logo blocks, so switching back to branded generates a new logo block with a new id and the company name as alt text - send the authored logo block in `blocks` alongside the branded update to keep it. A standalone raw HTML email does not support this field, and emailPreset must not be combined with html.
previewTextNoEmail preview text. Optional when `prompt` is provided because the generated preview text will be used.
replyToNameNoDisplay name for the Reply-To address. Requires replyTo; omit it when using replyProfileId, which already carries its own display name. An address carries one Reply-To name company-wide: if replyTo already has a saved profile under a different name, that saved name is kept and the response `warnings` array says so. Rename it with update_sender_profile (type 'reply') to change it everywhere.
targetListsNoCampaign audience, saved on the draft. Omit to leave targeting unset and set it later with `update_campaign` or `schedule_campaign`. Examples: {type:'all'}, {type:'lists', listIds:['list_123']}, {type:'segment', segmentId:'seg_123'}, {type:'filtered', filters:[...], filterJoinOperator:'and'}, or {type:'rules', include:[{type:'lists', listIds:['list_123']}], exclude:[{type:'segments', segmentIds:['seg_123']}]}. Use this to send straight to a list without creating a segment first. Mutually exclusive with `segmentId` and `listIds`.
campaignDataNoOptional campaign-scoped JSON data for repeat blocks and personalization.
trackingCodeNoOptional campaign tracking code for UTM templates. Use only when explicitly requested.
computedListsNoOptional computed list definitions derived from campaignData at send time.
replyProfileIdNoExisting reply profile ID (see list_sender_profiles). It already supplies both the Reply-To address and display name, so send it on its own and omit replyTo and replyToName.
senderProfileIdNoExisting sender profile ID (see list_sender_profiles). It already supplies both the From address and display name, so send it on its own and omit fromEmail and fromName.

Output Schema

NameRequiredDescriptionDefault
urlNoPrimary dashboard URL for this result.
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.
appUrlsNoDashboard URLs for relevant Sequenzy resources.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
campaignNoThe campaign record returned by Sequenzy.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
settingsUrlNoCompany settings URL when available.
subscriptionUrlNoOwner-facing subscription, upgrade, and billing-management URL when available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv1.0.0
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Files attached to every recipient's email, including CC/BCC copies and test sends: up to 10 files and 5MB in total. Each item has a filename plus Base64 `content` or a public `path` URL. Inline images (contentId) are not supported on campaigns. If a file cannot be fetched or is too large when sending starts, nothing is sent and the campaign returns to draft.",
      +  "items": {
      +    "properties": {
      +      "content": {
      +        "description": "Base64 file content. Sequenzy stores the file and returns a path. Provide content or path, not both.",
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "description": "MIME type for Base64 content, such as application/pdf. PDF, Office, ZIP, image, audio, video and text files are accepted; HTML and SVG are not.",
      +        "type": "string"
      +      },
      +      "filename": {
      +        "description": "Name recipients see, such as report.pdf. Its extension sets the file type when contentType is omitted.",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Public HTTP(S) URL fetched when the campaign starts sending. Provide content or path, not both.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "filename"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • changedInput schema / properties / blocks / description
      Previous value: -"Sequenzy email blocks. Use `styles` for per-block background, background opacity, text color, padding, border radius, border width, and border color. Top-level style aliases such as `backgroundColor`, `backgroundOpacity`, `borderColor`, `borderWidth`, and `borderRadius` are also accepted and saved under `styles`. Use this for editor-compatible content, including conditional and repeat blocks. Repeat blocks use { type: 'repeat', source: 'items', itemAlias: 'item', children: [...] }."New value: +"Sequenzy email blocks. Use this for editor-compatible content, including conditional and repeat blocks. For provider-migrated HTML from another email platform, prefer the `html` field instead; Sequenzy stores it as one raw HTML block to preserve the original design. Use `styles` for per-block background, background opacity, text color, padding, border radius, border width, and border color. Recolor body copy with `styles.textColor` (or the top-level `textColor` alias), not with an inline `style` on `<p>` or `<span>`. Top-level style aliases such as `backgroundColor`, `backgroundOpacity`, `textColor`, `textAlign`, `borderColor`, `borderWidth`, and `borderRadius` are also accepted and saved under `styles`. Repeat blocks use { type: 'repeat', source: 'items', itemAlias: 'item', children: [...] }. Merge tags resolve in this content but are always HTML-escaped; prefix a tag with 'html.' - e.g. {{html.subscriber.body_html}} - to insert a trusted subscriber attribute or variable holding prebuilt HTML unescaped. Injected HTML is sanitized (scripts, event handlers, and dangerous URLs stripped), must be final HTML, and renders raw only in HTML text position, never inside attributes. Any block accepts a `conditions` array so it only renders for matching recipients; conditions must all match unless the block sets `conditionsMatch: \"any\"`, and a numeric path segment reads one list item (`goals.0:bias`). To branch on a value passed in transactional `variables` or an automation `event` payload, use { \"id\": \"c1\", \"field\": \"variable\", \"operator\": \"is\", \"value\": \"plan:pro\" }; \"attribute\" uses the same \"name:value\" form, while \"email\"/\"firstName\"/\"lastName\" use a plain comparison value. Live subscriber fields are \"status\", \"tag\", \"list\", \"segment\", \"event\", \"emailProvider\", \"phone\", \"phoneCountry\", \"smsStatus\", \"added\", \"stripeProduct\", \"stripeCurrentProduct\", \"stripeTrialProduct\", \"commerceProduct\", \"commerceCollection\", \"emailSent\", \"emailDelivered\", \"emailOpened\", \"emailClicked\", \"emailBounced\", and \"emailComplained\". They use the same field-specific values and operators as segment filters, for example { \"id\": \"c2\", \"field\": \"segment\", \"operator\": \"is\", \"value\": \"seg_123\" }, { \"id\": \"c3\", \"field\": \"tag\", \"operator\": \"contains\", \"value\": \"vip\" }, or { \"id\": \"c4\", \"field\": \"event\", \"operator\": \"at_least\", \"value\": \"purchase:3:30d\" }. Supported operators across fields are is, is_not, contains, not_contains, starts_with, not_starts_with, gt, gte, lt, lte, less_than, more_than, at_least, less_than_count, is_empty, is_not_empty, is_temporary_bounce, and is_permanent_bounce; each field accepts only its segment-filter operators. Recipients without a stored subscriber match use the OTHERWISE branch or hide a conditionally displayed block. For if/else, use a { type: \"conditional-group\", conditions: [...], ifBranch: { children: [...] }, elseBranch: { children: [...] } } block. `styles` applies to the block's own container, not to an inner rendered element. On a button block, `styles.backgroundColor` colors the band behind the button and `styles.textColor` does not reach the label - set the top-level `buttonColor` and `buttonTextColor` fields instead, or leave them unset to inherit the email theme's primary color. Unsupported fields are discarded and reported in the response `warnings` array rather than rejected. Polls and NPS surveys use a native poll block. For answer buttons use { \"type\": \"poll\", \"variant\": \"options\", \"question\": \"What did you think?\", \"options\": [{ \"label\": \"Loved it\", \"value\": \"loved\" }, { \"label\": \"Not for me\", \"value\": \"not_for_me\" }], \"attributeKey\": \"email_feedback\" }. For NPS use { \"type\": \"poll\", \"variant\": \"nps\", \"question\": \"How likely are you to recommend us?\", \"options\": [], \"attributeKey\": \"nps_score\", \"npsLowLabel\": \"Not likely\", \"npsHighLabel\": \"Very likely\" }. `attributeKey` stores the latest response for segmentation. Set `allowMultiple: true` on a text-only options poll to let recipients pick several answers: answer links then open a hosted selection page where the recipient checks any number of options and saves them in one submit, and `attributeKey` stores the list of selected values (filter with attribute `contains`). Multi-select polls cannot use option images or configurations whose encoded signed links exceed the delivery-safe size limit. Optional `appearance` picks the answer style: \"soft\" (default), \"pill\", \"outline\", \"filled\", \"pop\" (hard-shadow boxes), \"brutal\" (square uppercase slabs), \"quiz\" (A/B/C letter badges), or \"minimal\" (bare ruled rows). `optionLayout: \"row\"` puts text answers side by side. `accentColor` recolors every appearance, including \"brutal\". `optionRadius` sets answer-button corners in px (0 is square) independently of `styles.borderRadius`, while `questionColor` recolors only the question. `fontFamily` applies to the poll; `optionFontSize`, `optionFontWeight`, `optionLetterSpacing`, and `optionTextTransform` style answers, and the matching `questionFontSize`, `questionFontWeight`, `questionLetterSpacing`, and `questionTextTransform` fields style the question. Sizes and spacing are px, weights are 100-900, and transforms are \"none\" or \"uppercase\". `confirmationMessage` customizes the hosted thank-you page; `redirectUrl` sends respondents to another page with `?answer=<value>`. For a new image, call `upload_image_asset` first and insert its returned `imageBlock`. A responsive fixed-height screenshot crop uses { \"type\": \"image\", \"src\": \"https://...\", \"alt\": \"Product dashboard\", \"width\": 100, \"widthType\": \"percent\", \"height\": 320, \"objectFit\": \"cover\", \"align\": \"center\" }. A YouTube video block can override its still with { \"type\": \"video\", \"videoUrl\": \"https://www.youtube.com/watch?v=...\", \"thumbnailUrl\": \"https://cdn.example.com/cover.jpg\", \"alt\": \"Watch the product tour\" }. Replacing the blocks array without `thumbnailUrl` restores YouTube's own thumbnail; the video destination remains `videoUrl`. Minimal valid core examples: {\"type\":\"heading\",\"content\":\"Title\",\"level\":1}; {\"type\":\"text\",\"content\":\"<p>Paragraph with <strong>bold</strong></p>\",\"variant\":\"paragraph\"}; {\"type\":\"list\",\"variant\":\"bullet\",\"items\":[{\"content\":\"First point\"},{\"content\":\"Second point\"}]}; {\"type\":\"steps\",\"variant\":\"timeline\",\"items\":[{\"title\":\"Connect\",\"description\":\"Link your account.\"},{\"title\":\"Launch\",\"description\":\"Send your first campaign.\"}]}; {\"type\":\"button\",\"text\":\"Click Me\",\"url\":\"https://example.com\",\"variant\":\"primary\"}; {\"type\":\"image\",\"src\":\"https://...\",\"alt\":\"Description\",\"width\":100,\"widthType\":\"percent\",\"height\":240,\"objectFit\":\"cover\",\"href\":\"https://example.com\",\"align\":\"center\"}. Heading and text use `content`; button uses `text` but also accepts `content` as an alias and defaults `variant` to `primary`. Image `widthType` accepts `percent` or `px`. Lists are their own block type, never a text variant: `text` accepts only variant paragraph, lead, or html and never accepts `items`, so a numbered list is {\"type\":\"list\",\"variant\":\"numbered\",\"items\":[{\"content\":\"First\"}]} and a visual numbered walkthrough is {\"type\":\"steps\",\"variant\":\"numbered\",\"items\":[{\"title\":\"Step one\",\"description\":\"What happens\"},{\"title\":\"Step two\",\"description\":\"What happens next\"}]}. List items carry `content`; steps items carry `title` plus an optional `description`. A list item nests under the item above it with `indent` 1 or 2. Call `get_email_block_schema` for the required and optional fields of any other block type. If that tool is not in the MCP tool list, enable it on the Sequenzy connector rather than inferring fields from live HTML; the same reference is also at `sequenzy://email-blocks` (MCP resource), `GET /api/v1/email-blocks` (API), and `sequenzy blocks <type>` (CLI)."
    • addedInput schema / properties / emailPreset
      Added value: +{
      +  "description": "Per-email Style > Format for native Sequenzy blocks, including emails with supported custom HTML blocks. Use minimal for a direct text-forward note without the company logo and with the simple footer, or branded for branded chrome. This does not change the company-wide default and is not `style`, which is a prompt-generation hint valid only with `prompt`. Not a lossless toggle: minimal deletes standalone logo blocks, so switching back to branded generates a new logo block with a new id and the company name as alt text - send the authored logo block in `blocks` alongside the branded update to keep it. A standalone raw HTML email does not support this field, and emailPreset must not be combined with html.",
      +  "enum": [
      +    "branded",
      +    "minimal"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / fromEmail
      Added value: +{
      +  "description": "From address for this campaign. Its domain must be configured and verified; a sender profile is created when needed.",
      +  "type": "string"
      +}
    • addedInput schema / properties / fromName
      Added value: +{
      +  "description": "Display name recipients see, e.g. 'Brennon at TradeTally'. Selects the sender identity of that name on fromEmail, creating it when the address has no identity by that name; the mailbox's other display names, and everything pinned to them, are untouched. Requires fromEmail; omit it when using senderProfileId, which already carries its own display name.",
      +  "type": "string"
      +}
    • changedInput schema / properties / html / description
      Previous value: -"Email HTML content. Mutually exclusive with `blocks`."New value: +"Email HTML content. Mutually exclusive with `blocks`. Use this for imported provider campaigns. Raw HTML is stored as one opaque block. Sequenzy preserves that markup but does not add a company logo, branded native sections, or theme-driven block design. Use blocks for editor-native design, or a drafting prompt when you want Sequenzy to compose a new branded email. Merge tags resolve in this content but are always HTML-escaped; prefix a tag with 'html.' - e.g. {{html.subscriber.body_html}} - to insert a trusted subscriber attribute or variable holding prebuilt HTML unescaped. Injected HTML is sanitized (scripts, event handlers, and dangerous URLs stripped), must be final HTML, and renders raw only in HTML text position, never inside attributes."
    • addedInput schema / properties / listIds
      Added value: +{
      +  "description": "Shorthand for targeting one or more lists. Equivalent to targetLists {type:'lists', listIds}. Mutually exclusive with `targetLists` and `segmentId`.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / previewText
      Added value: +{
      +  "description": "Email preview text. Optional when `prompt` is provided because the generated preview text will be used.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / prompt / description
      Previous value: -"Generate campaign blocks from a prompt. Mutually exclusive with `html`, `blocks`, and `templateId`."New value: +"Generate campaign blocks from a prompt. Generated blocks include the company's logo and footer, and the created campaign inherits the company brand font. Mutually exclusive with `html`, `blocks`, and `templateId`."
    • addedInput schema / properties / replyProfileId
      Added value: +{
      +  "description": "Existing reply profile ID (see list_sender_profiles). It already supplies both the Reply-To address and display name, so send it on its own and omit replyTo and replyToName.",
      +  "type": "string"
      +}
    • addedInput schema / properties / replyTo
      Added value: +{
      +  "description": "Reply-To address for this campaign. A reply profile is created when needed.",
      +  "type": "string"
      +}
    • addedInput schema / properties / replyToName
      Added value: +{
      +  "description": "Display name for the Reply-To address. Requires replyTo; omit it when using replyProfileId, which already carries its own display name. An address carries one Reply-To name company-wide: if replyTo already has a saved profile under a different name, that saved name is kept and the response `warnings` array says so. Rename it with update_sender_profile (type 'reply') to change it everywhere.",
      +  "type": "string"
      +}
    • changedInput schema / properties / segmentId / description
      Previous value: -"Target segment ID"New value: +"Shorthand for targeting one saved segment. Equivalent to targetLists {type:'segment', segmentId}. Mutually exclusive with `targetLists` and `listIds`."
    • addedInput schema / properties / senderProfileId
      Added value: +{
      +  "description": "Existing sender profile ID (see list_sender_profiles). It already supplies both the From address and display name, so send it on its own and omit fromEmail and fromName.",
      +  "type": "string"
      +}
    • addedInput schema / properties / sentAt
      Added value: +{
      +  "description": "ISO date-time for an imported/already-sent campaign. Only valid when status is sent; defaults to now if omitted.",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Initial status: draft or sent. Defaults to draft. Use sent only for imported/already-sent campaigns; it does not send email or create delivery history.",
      +  "type": "string"
      +}
    • changedInput schema / properties / style / description
      Previous value: -"Prompt generation style: minimal, branded, promotional. Only used with `prompt`."New value: +"Prompt generation style. Only used with `prompt`; this is not Style > Format. Pass 'designed' or 'plain' to force the designed or plain-text email style; other values (minimal, branded, promotional) are freeform prompt guidance and the company's email style preference decides. Use `emailPreset` to set branded or minimal chrome on native blocks."
    • addedInput schema / properties / targetLists
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Campaign audience, saved on the draft. Omit to leave targeting unset and set it later with `update_campaign` or `schedule_campaign`. Examples: {type:'all'}, {type:'lists', listIds:['list_123']}, {type:'segment', segmentId:'seg_123'}, {type:'filtered', filters:[...], filterJoinOperator:'and'}, or {type:'rules', include:[{type:'lists', listIds:['list_123']}], exclude:[{type:'segments', segmentIds:['seg_123']}]}. Use this to send straight to a list without creating a segment first. Mutually exclusive with `segmentId` and `listIds`.",
      +  "properties": {
      +    "exclude": {
      +      "description": "Exclude rules for type 'rules'. Optional. Same shapes as include except {type:'all'}.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "excludedSubscriberIds": {
      +      "description": "Individual contacts to exclude from the audience. Explicit includedSubscriberIds override exclusions; remove a contact from that array to exclude it from a frozen group.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "filterJoinOperator": {
      +      "description": "How 'filtered' filters combine. Optional, defaults to 'and'.",
      +      "enum": [
      +        "and",
      +        "or"
      +      ],
      +      "type": "string"
      +    },
      +    "filters": {
      +      "description": "Subscriber filter objects {id, field, operator, value}. Required when type is 'filtered'.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "include": {
      +      "description": "Include rules. Required when type is 'rules'; an include rule or explicit includedSubscriberIds are needed to schedule. Each rule is {type:'all'} | {type:'lists', listIds:[...]} | {type:'segments', segmentIds:[...]} | {type:'filtered', filters:[...]}.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "includedSubscriberIds": {
      +      "description": "Explicit selected contacts, including frozen groups from create_campaign_for_audience. An empty include array is allowed when these IDs are present.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "listIds": {
      +      "description": "List IDs to target. Required when type is 'lists'.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "segmentId": {
      +      "description": "Saved segment ID. Required when type is 'segment'.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "type": {
      +      "description": "Audience shape. all = every active subscriber; lists = subscribers on any of listIds; segment = one saved segment; filtered = ad-hoc subscriber filters; rules = combined include/exclude rules.",
      +      "enum": [
      +        "all",
      +        "lists",
      +        "segment",
      +        "filtered",
      +        "rules"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "type"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / subscriptionUrl
      Added value: +{
      +  "description": "Owner-facing subscription, upgrade, and billing-management URL when available.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Non-fatal cautions about content, permissions, or follow-up actions.",
      +  "items": {
      +    "description": "One warning.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-idempotent, open-world mutation, so the safety profile is covered. The description adds genuine behavioral context on top: it defaults to draft, and status 'sent' merely archives rather than sending or creating delivery history — an important non-obvious caveat that prevents misuse. It does not cover permissions or the failure/rollback path for attachments, which the schema carries instead.

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?

Four dense sentences, front-loaded with the core action and then organized by content mode, so an agent can scan for the branch it needs. Some of the classification detail (which field is 'finished content' vs 'imported markup') is repeated in the schema, but nothing is wasted at the top level.

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?

With 27 parameters, an output schema, and full annotations, the description's job is to orient rather than document everything — and it does: content mode selection, draft default, and the sent-status caveat. Sender, audience, and tracking parameters are left to their schema descriptions, which is reasonable, though one line pointing at targeting options would make it fully self-sufficient.

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 description does add cross-parameter meaning beyond single-field docs — mutual exclusivity of prompt/html/blocks/templateId, the emailPreset-and-html prohibition, and the style-is-not-Format distinction — but these largely restate what the schema property descriptions already say.

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 first sentence states a specific verb and resource ('Create a new campaign'), and the following sentences disambiguate the three content modes (prompt vs blocks vs html) plus the empty-draft case. It stops short of distinguishing this tool from sibling creation tools such as create_campaign_for_audience or create_in_app_campaign, so an agent must infer that this one is the general email-campaign constructor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real conditional guidance for fields — omit all content fields for a draft, status 'sent' only for already-sent campaigns, emailPreset only with native blocks, style only with prompt. But there is no tool-level when-to-use vs the other create_* campaign siblings, which for a 27-parameter tool is a meaningful gap.

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