Skip to main content
Glama
shipmail-to

shipmail-mcp

Update Newsletter

shipmail_update_newsletter
Idempotent

Update editable newsletter drafts or future scheduled newsletters. Use blocks for body; body_text updates plain-text override. Sent newsletters cannot be edited.

Instructions

Update an editable newsletter draft or future scheduled newsletter. Prefer blocks for body content. When blocks already exist, body_text alone updates the plain-text override. Sending and sent newsletters cannot be edited. A concurrent save returns conflict (409); read the latest newsletter before retrying. styled applies Shipmail's email theme. plain sends your HTML without injected styles, width, or centering, so the reader's email client styles it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNewsletter ID.
nameNoInternal newsletter draft name.
blocksNo
subjectNoEmail subject line.
body_htmlNo
body_textNo
audience_idNoAudience ID.
preview_textNo
styling_modeNostyled applies Shipmail's email theme. plain sends your HTML without injected styles, width, or centering, so the reader's email client styles it.
idempotency_keyNoOptional idempotency key. If omitted, the MCP server generates one for POST tools.
send_window_hoursNo
archive_visibilityNo
sender_identity_idNoNewsletter sender identity ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
newsletterYes
Behavior5/5

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

Beyond annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description adds important behavioral details: concurrent save returns 409, blocks are preferred, body_text acts as plain-text override when blocks exist, and explains the styling modes ('styled' vs 'plain') with concrete implications.

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?

The description is five sentences with no superfluous words. It front-loads the purpose and then provides essential guidelines and behaviors. Every sentence contributes value.

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?

Given the tool's complexity (13 parameters, nested blocks), the description covers usage, behavior, and parameter semantics well. It does not explain the return value, but the presence of an output schema likely handles that. Overall, it is sufficiently complete for an AI agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning for key parameters like blocks (prefer blocks, interaction with body_text) and styling_mode (detailed explanation of 'styled' vs 'plain'). However, it does not elaborate on other parameters like id, name, subject, etc., though the schema provides minimal descriptions. Schema coverage is 54%, so the description compensates partially.

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?

The description clearly states the action ('Update') and the target resource ('an editable newsletter draft or future scheduled newsletter'). It distinguishes from read-only or creation tools by specifying the state of newsletters that can be updated.

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 clear context: use for editable drafts or future scheduled newsletters, but not for sending or sent newsletters. It also provides guidance on using blocks vs body_text and warns about concurrent saves (409). However, it does not explicitly mention when to use this tool over others like shipmail_create_newsletter.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shipmail-to/shipmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server