Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

get_email_send

Read-onlyIdempotent

Retrieve detailed information about an email delivery by its ID, including status, failure reasons, stored HTML, recipients, and event timeline.

Instructions

Get an email delivery by emailSendId, including queued and test sends, delivery status, provider failure reason, stored HTML, effective Reply-To, copied-recipient identity and primary email send ID, and the ClickHouse event timeline. type is the legacy source category; use emailType on the send and deliveryPolicy on events for the actual marketing or transactional policy when known. Queue jobs are internal execution details and are not exposed.

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

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany ID. If not provided, uses the currently selected company.
emailSendIdYesDurable email delivery ID to inspect.

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.
eventsNoList of email delivery event records returned by Sequenzy.
appUrlsNoDashboard URLs for relevant Sequenzy resources.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
emailSendNoThe email send, including copied-recipient identity and primary email send ID when applicable, and for an email that didn't arrive its outcome (bounced, blocked, delayed or failed) with a one-sentence reason record returned by Sequenzy.
settingsUrlNoCompany settings URL when available.
subscriptionUrlNoOwner-facing subscription, upgrade, and billing-management URL when available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.0.0
    • changedInput schema / properties / emailSendId / description
      Previous value: -"Email send ID to inspect."New value: +"Durable email delivery ID to inspect."
    • changedOutput schema / properties / emailSend / description
      Previous value: -"The email send record returned by Sequenzy."New value: +"The email send, including copied-recipient identity and primary email send ID when applicable, and for an email that didn't arrive its outcome (bounced, blocked, delayed or failed) with a one-sentence reason record returned by Sequenzy."
    • addedOutput schema / properties / events
      Added value: +{
      +  "description": "List of email delivery event records returned by Sequenzy.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "One item in the returned collection.",
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • 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

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the marginal bar is lower, and the description still adds substantive behavior: test and queued sends appear in results, and internal queue jobs are deliberately not exposed. It does not address auth requirements, error behavior for unknown IDs, or any bound on the ClickHouse event timeline size.

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 core action and lookup key, followed by two short clarifying sentences on field semantics and scope exclusions; nothing is filler. The first sentence is a dense enumeration that takes effort to parse, which keeps it just below a 5.

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?

An output schema exists, so the return-value enumeration is bonus context rather than required, and the description covers scoping and inclusion/exclusion semantics well. The remaining gap is the ClickHouse event timeline: no indication of ordering, truncation, or size limits, which matters for a potentially unbounded nested result.

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 coverage is 100% and both parameters are already documented (companyId defaults to the selected company; emailSendId is the durable delivery ID), so the baseline is 3. The description reinforces that emailSendId targets a durable ID including test sends, but adds no format, syntax, or validation detail 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?

States a specific verb and resource ('Get an email delivery by emailSendId') and enumerates the payload scope: status, provider failure reason, stored HTML, effective Reply-To, copied-recipient identity, primary send ID, and ClickHouse event timeline. This is clearly distinguishable from the sibling list_email_sends, which enumerates rather than inspects a single delivery.

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?

The description gives real usage context: queued and test sends are included in scope, and queue jobs are explicitly out of scope, which prevents a common false expectation. It also tells the agent to prefer `emailType` and `deliveryPolicy` over the legacy `type`. It does not name an alternative tool or state when to use list_email_sends instead, so it stops short of full routing guidance.

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