Skip to main content
Glama
spruikco

send16-mcp

by spruikco

render_email_content

Render EmailContent JSON into HTML for preview and post-processing, producing the exact HTML the API would send.

Instructions

Compile an EmailContent JSON object (the shape used by the Send16 builder + templates) into HTML using the platform's authoritative renderer. Returns the exact HTML the API would send. Useful for previews and post-processing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoSend16 API key (overrides SEND16_API_KEY env var)
contentYesEmailContent JSON (from get_template or the builder)
variablesNoVariable replacements (e.g. {firstName:'Alice'})
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states it 'returns the exact HTML the API would send,' indicating a read-only operation with fidelity to the actual send. However, it does not mention error handling, rate limits, or authorization details beyond the apiKey parameter.

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 extremely concise—two sentences that efficiently convey the action, input, output, and use case without any filler or redundancy. Every word adds 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 low complexity, the description adequately covers purpose, input, output, and usage context. It explains the return value (exact HTML) since there is no output schema. Missing details like error responses or required permissions are minor for this read-only tool.

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 the schema already explains each parameter clearly. The description adds marginal value by noting that 'content' comes from 'get_template or the builder' and providing an example for 'variables'. This barely exceeds the baseline of 3.

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 compiles an EmailContent JSON object into HTML using the platform's renderer, specifying the input shape and output as exact HTML. The verb 'compile' and resource 'EmailContent JSON' are specific, and the mention of 'Send16 builder + templates' helps distinguish it from sibling tools like 'design_email_template' or 'generate_email_from_url'.

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 includes 'Useful for previews and post-processing', which provides clear context for when to use the tool. It implies it is for rendering existing content, not for designing or sending, but does not explicitly exclude other scenarios or name alternatives.

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/spruikco/send16-mcp'

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