Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Cancel Scheduled Email

cancel-scheduled-email

Cancel a scheduled email before it sends by providing its sch_ request ID. Confirm with the user first, as cancellation cannot be undone and only scheduled emails can be cancelled.

Instructions

Cancel a scheduled email before it is sent. Before using this tool, you MUST confirm with the user that they really want to cancel this email — this action cannot be undone. Only an email still in the scheduled state can be cancelled.

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": {
      "request_id": "<request_id>"
    },
    "name": "cancel-scheduled-email"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe `sch_` request ID to cancel

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?

With no annotations, the description carries the burden and does well: it discloses irreversibility ("this action cannot be undone") and a hard state precondition, and it mandates user confirmation before invocation. It stops short of saying what happens to the email after cancellation (removed vs. retained with cancelled status) or what a failure looks like.

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?

Three short sentences, each doing distinct work: action, confirmation gate, and state precondition. The action is front-loaded and nothing is padded.

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 one-parameter, no-output-schema mutation tool, the description covers the essentials: what it does, the safety gate, and the state requirement. Only the post-cancellation outcome is left unstated, which is minor given there is no output schema to explain.

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 the single request_id parameter already documents the `sch_` prefix format. The description adds no parameter-level meaning beyond the schema, so the 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 ("Cancel a scheduled email") plus a timing constraint ("before it is sent"). An agent can immediately distinguish this from siblings like schedule-email, send-email, and get-scheduled-email without opening any 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?

Gives a clear precondition for use: "Only an email still in the `scheduled` state can be cancelled," which tells the agent when the call will succeed. It does not name alternatives (e.g., get-scheduled-email to verify state first), so it falls short of full when/when-not routing.

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