Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

delete_transactional_email

Destructive

Permanently delete a saved transactional email template by ID or slug to retire obsolete sends, free the slug for reuse, and keep delivery history and analytics.

Instructions

Permanently delete a saved transactional email template by ID or slug. Use this to retire an obsolete template: the slug stops sending and becomes free to reuse. Already-sent deliveries and their stats are kept, so history and analytics survive the delete. The linked email content stays as a reusable template and comes back as deleted.emailId; pass that to delete_template to remove the content too. Code-managed emails (managedBy: code) are the exception: their content snapshot is deleted with them and deleted.emailDeleted is true. To stop sends without losing the template, call update_transactional_email with enabled set to false instead.

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

Input Schema

NameRequiredDescriptionDefault
idOrSlugYesTransactional email ID or API slug, for example `welcome-email`.
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.
deletedNoDeleted transactional email: id, slug, name, emailId of the email content, and emailDeleted (true for code-managed emails, whose content snapshot was deleted; false when the content was kept as a reusable template).
messageNoHuman-readable status, confirmation, or next-step message.
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.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true. The description adds genuinely useful context beyond this: sent deliveries and stats are preserved, the slug is freed for reuse, linked content survives and returns as deleted.emailId, and code-managed emails behave differently (emailDeleted=true). However, since the annotations carry the core safety profile and the description is largely about downstream state rather than call-time behavior, a 3 reflects solid but not exceptional added value.

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?

Front-loads the action and scope, then sequences retention semantics, the content-deletion path, the code-managed exception, and the non-destructive alternative. Despite five sentences, each carries distinct information and no sentence restates the schema or annotations.

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?

The tool is a destructive mutation with an output schema; the description covers what is destroyed, what survives, the linked-object side effect, and the safe alternative. Nothing an agent needs to call it correctly is missing.

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 both idOrSlug and companyId are already documented in the schema. The description reinforces the ID-or-slug duality but adds no format or scoping detail beyond the schema, so the baseline 3 is appropriate.

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?

Opens with a specific verb and resource ('Permanently delete a saved transactional email template by ID or slug'), including the identifier modes. This distinguishes it from sibling delete_template (which removes content) and update_transactional_email (which disables), so an agent can select it without opening the schema.

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

Usage Guidelines5/5

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

States the intended use case ('retire an obsolete template') and names two explicit alternatives with conditions: pass deleted.emailId to delete_template to also remove content, and call update_transactional_email with enabled=false to stop sends without deleting. Both when-to-use and when-not-to-use are covered.

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