Skip to main content
Glama
resend

Email Sending MCP

by resend

Get TipTap JSON Content

get-tiptap-json-content

Retrieve the existing TipTap JSON content of a broadcast or template, optionally with schema. Use as base for editing before composing or modifying email content.

Instructions

Purpose: Retrieve the existing TipTap JSON content of a broadcast or template, optionally bundled with the TipTap schema reference. Also connects the agent to the editor so the avatar is visible while content is being generated.

When to use:

  • Always call this before compose-broadcast or compose-template to fetch the current document state — even if you expect it to be empty, the resource may have content set via the dashboard

  • When the user asks to edit, tweak, or modify existing email content

  • To inspect the current TipTap structure of a resource

Returns: The TipTap JSON content object for the resource, and optionally the TipTap schema. Use the content as the base for modifications, then pass the updated JSON to compose-broadcast or compose-template.

Note: This tool automatically connects the agent to the editor. The subsequent compose-broadcast or compose-template call will disconnect when done.

Tip: Set include_schema to true to get both the existing content and the schema in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYesThe broadcast ID (UUID), template identifier (UUID or alias), or Resend dashboard URL (e.g. https://resend.com/broadcasts/<id> or https://resend.com/templates/<id>)
resource_typeYesType of resource to fetch content for
include_schemaNoReturns the TipTap schema reference alongside the content. Required for producing valid TipTap JSON. Set to false only if you already have the schema.
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the side effect of connecting to the editor and explains the return values. However, it does not cover error behavior, rate limits, or authentication nuances. This is adequate but not exhaustive.

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-organized with sections (Purpose, When to use, Returns, Note, Tip). Every sentence adds unique value, no redundancy. It uses bold for emphasis and is appropriately sized for the tool's complexity.

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 3 parameters, no output schema, and no annotations, the description covers key context: connection management, ordering relative to compose tools, and that content may be set via dashboard. Could mention error cases, but overall complete enough for an 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?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the purpose of include_schema ('required for producing valid TipTap JSON') and when to set it false. It also advises to always call this before compose, adding context 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?

The description clearly states the tool retrieves TipTap JSON content from a broadcast or template, with optional schema. It explicitly uses the verb 'Retrieve' and specifies the resource. It also differentiates from siblings by noting the connection management and ordering relative to compose tools.

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 'When to use' section provides clear directives: always call before compose-broadcast/template, even if expecting empty; when editing; to inspect structure. It does not explicitly state when not to use, but the guidance is sufficient for correct invocation.

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