Skip to main content
Glama
resend

Email Sending MCP

by resend

Update Broadcast

update-broadcast

Update email broadcast metadata—subject, sender, content, segment, preview text, or reply-to—using the broadcast ID or Resend dashboard URL.

Instructions

Update broadcast metadata by ID or Resend dashboard URL (name, subject, from, html, text, segment, preview text, reply-to). To edit TipTap content, use compose-broadcast instead.

Important: The API requires from and segmentId to be set on the broadcast. If the broadcast was created from the dashboard, these may be empty. Always call get-broadcast first to check, and include from and segmentId in your update if they are not already set. Use list-domains to find verified domains for the from address, and list-segments to find segment IDs.

Note on html/text fields: Setting html or text via this tool replaces any content previously set via compose-broadcast. This switch is lossy — some content or formatting may be lost. Prefer compose-broadcast for content changes. If the broadcast was composed with TipTap content, ask the user before overwriting it with raw HTML.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoFrom email address (e.g. "onboarding@resend.com" or "Resend <onboarding@resend.com>")
htmlNoHTML content of the email. Email HTML requirements — follow all of these without exception: STRUCTURE - Always include <!DOCTYPE html>, <html>, <head>, <body> - Layout must be table-based: <table>, <tr>, <td> — never use <div> for layout - Outer wrapper table at width="100%", inner content table at max 600px wide - Every table must have cellpadding="0" cellspacing="0" border="0" CSS - All styles must be inline (style="...") — no <style> tag, no external stylesheets - No flexbox, no grid, no CSS variables, no CSS shorthand (use padding-top not padding) - font-family must always include web-safe fallbacks (Arial, Helvetica, Georgia, sans-serif) - Always set font-size, line-height, and color explicitly on every text element IMAGES - Always set width, height, border="0", display:block on every <img> - Use absolute URLs only — no relative paths - Always include alt text LINKS & BUTTONS - Never use <button> — use <a> styled as a button inside a <td> - No <video>, <form>, or <input> elements - No JavaScript of any kind OUTLOOK COMPATIBILITY - Use bgcolor attribute on <td> alongside CSS background-color - No CSS background-image (poor Outlook support) - Add <!--[if mso]> conditionals where needed for Outlook rendering META (in <head>) - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="IE=edge">
nameNoName for the broadcast
textNoPlain text content of the email
replyToNoReply-to email address(es)
subjectNoEmail subject
segmentIdNoSegment ID to send to
broadcastIdYesBroadcast ID or Resend dashboard URL (e.g. https://resend.com/broadcasts/<id>)
previewTextNoPreview text for the email
Behavior5/5

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

No annotations are present, so the description fully carries the burden. It discloses the API requirement for 'from' and 'segmentId', notes that these may be empty for dashboard-created broadcasts, and warns that setting html/text is lossy, replacing content from compose-broadcast. It even instructs asking user before overwriting TipTap content, which is strong side-effect disclosure.

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 well-structured with bold headings and front-loaded purpose. It is not overly verbose; each sentence adds crucial information, including the important caveats, without redundancy. The format is easily scannable for an AI agent.

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?

Given 9 parameters and no output schema or annotations, the description covers essential preconditions, alternative tools, and risks. It mentions the need to call get-broadcast first, use list-domains/list-segments, and clarifies content loss issues. This is complete for guiding correct tool invocation.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema. It explains that 'from' and 'segmentId' are often required and provides guidance on finding verified domains and segment IDs. The note about html/text replacing TipTap content adds semantic depth not present in 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?

The description states precisely what the tool does: 'Update broadcast metadata by ID or Resend dashboard URL' and lists the specific fields (name, subject, from, html, text, segment, preview text, reply-to). It clearly differentiates from sibling 'compose-broadcast' by stating 'To edit TipTap content, use compose-broadcast instead.'

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?

Explicit guidance is provided on when to use this tool versus the alternative, with a direct reference to compose-broadcast for TipTap content. It also gives step-by-step usage prerequisites: 'Always call get-broadcast first to check, and include from and segmentId in your update if they are not already set' plus references to list-domains and list-segments.

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/resend/resend-mcp'

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