Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Schedule Email

schedule-email

Schedules email delivery for a future UTC time between 5 minutes and 30 days ahead, using standard message fields and returning a request ID for tracking or cancellation.

Instructions

Schedule an email for future delivery. Accepts the same fields as send-email plus a required scheduled_at (ISO 8601, UTC) that is at least 5 minutes in the future and at most 30 days out.

Returns: The scheduled email, including the sch_ request ID that get-scheduled-email and cancel-scheduled-email take.

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": {
      "to": "<to>",
      "from": "<from>",
      "scheduled_at": "<scheduled_at>"
    },
    "name": "schedule-email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoOptional array of CC email addresses. You MUST ask the user for this parameter. Under no circumstance provide it yourself
toYesArray of recipient email addresses (1-50 recipients)
bccNoOptional array of BCC email addresses. You MUST ask the user for this parameter. Under no circumstance provide it yourself
tagNoTag for tracking and analytics (max 64 characters)
fromYesSender email address. You MUST ask the user for this parameter. Under no circumstance provide it yourself
htmlNoHTML email content. At least one of html, text or template_slug is required.
textNoPlain text email content. At least one of html, text or template_slug is required.
headersNoCustom email headers (up to 10). Standard envelope headers (From, To, Subject, etc.), SparkPost internal headers (X-MSYS-API) and List-Unsubscribe headers are managed automatically and cannot be overridden.
optionsNoEmail delivery options
subjectNoEmail subject line. Required unless template_slug is provided — templates supply their own subject as a default. If provided alongside a template, overrides the template's subject.
amp_htmlNoAMP HTML content for supported email clients.
metadataNoCustom metadata for tracking (e.g. { "user_id": "123", "campaign": "onboarding" })
reply_toNoOptional reply-to email address. You MUST ask the user for this parameter. Under no circumstance provide it yourself
from_nameNoSender display name (e.g. "Acme Support")
project_idNoProject ID containing the template. Defaults to the team's default project.
attachmentsNoArray of file attachments. Each needs name, type and either data (base64) or filePath.
scheduled_atYesISO 8601 UTC datetime (e.g. 2024-01-16T10:00:00Z). Must be 5+ minutes in the future and within 30 days.
reply_to_nameNoReply-To display name
template_slugNoTemplate slug to use for email content. When provided, the template's HTML is used. Use get-merge-tags to discover required substitution_data keys.
template_versionNoSpecific template version to use. Defaults to the active version.
substitution_dataNoVariables for template substitution (e.g. { "first_name": "John" }).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the burden, and it delivers real behavioral detail: the validation envelope (>=5 minutes, <=30 days), that scheduled_at is UTC ISO 8601, and the return value including the `sch_` request ID. It does not cover auth/sender-verification requirements, quota or rate limits, or what happens on rejection inside the window.

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?

Two tight paragraphs: purpose and constraint first, return value second. Every sentence carries information an agent needs, and the labeled Returns section makes the output contract easy to scan despite there being no output schema.

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?

For a 21-parameter, nested-object mutation tool with no annotations and no output schema, the definition covers the scheduling-specific semantics and the return shape. The remaining ~18 inherited email fields are delegated to the send-email reference, which is a reasonable but implicit contract rather than a self-contained one.

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 every parameter is already documented, including the same 5-minute/30-day constraint on scheduled_at. The description's 'same fields as send-email' summary adds a useful mental model but no new syntax or meaning beyond the schema, so baseline 3 applies.

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 ('Schedule an email for future delivery') and immediately scopes it against the sibling send-email by saying it takes the same fields plus a required scheduled_at. An agent can tell exactly what this tool does and how it differs from the immediate-send path 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 Guidelines4/5

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

The 'future delivery' framing plus the scheduling window establishes when to use it, and the trailing note about get-scheduled-email and cancel-scheduled-email taking the returned `sch_` ID gives useful follow-up routing. It stops short of an explicit when-not clause (e.g., 'use send-email for immediate delivery' or 'use schedule-campaign for bulk').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.