Skip to main content
Glama
This connector has been deprecated

Replaced by Inviomail.

Duplicate listing under a wrong namespace; the canonical listing is de.inviomail/mcp

Preview Flow Email content

preview_flow_email_content
Read-onlyIdempotent

Renders a complete candidate native inviomail contentJson for a Flow Email without saving. First call get_flow_email_content and use its exact revision as expectedRevision. Validate first and pass normalizedContent when valid. New or changed image sources must be tenant-owned URLs returned by inviomail media tools. Button blocks support bold (default true) and optional fontSize (integer 10–30 px) for desktop; omit fontSize to inherit tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically. Own contact fields are supported only in heading.text and text.html, including two-column children: {{custom.key}} or {{custom.key | default: "replacement text"}}. Read list_contact_fields first and use its permanent keys; offer active fields for new insertion. Existing archived references still resolve. Missing/blank values use the fallback or empty text. Escape fallback JSON and HTML correctly; do not split a token with inline markup. Tenant validation reports invalid syntax, unsupported locations and unknown keys. Custom field placeholders are not supported in subjects, preheaders, buttons, URLs, footers, signatures or DOI emails.

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": {
      "flowEmailId": "<flowEmailId>",
      "expectedRevision": "<expectedRevision>",
      "contentJson": "<contentJson>"
    },
    "name": "preview_flow_email_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentJsonYesComplete candidate Flow Email contentJson document. For type button (also in two-column children), bold defaults to true and optional fontSize is an integer 10–30 px for desktop; omit fontSize for tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically.
flowEmailIdYesFlow Email ID
personalizationNoOptional personalization: {mode:"contact",contactId:"tenant-contact-uuid"} uses that contact as the data source; {mode:"empty"} renders fallbacks without custom field values. Omit for literal preview tokens or, on test sends, values of an existing contact matching toEmail. The test email is always delivered to toEmail; the selected contact is not subscribed, tagged, or unsubscribed by selecting it. Find contact IDs with search_contacts or get_contact_by_email.
expectedRevisionYesExact revision returned by get_flow_email_content

Output Schema

NameRequiredDescriptionDefault
impactYes
previewYes
flowEmailYes
requestIdYes
designContextUpdatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior, and the description adds the key 'without saving' preview semantics, validation reporting, image-source ownership, contact-field restrictions, and escaping rules. These are substantive behavioral constraints beyond the structured annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and prerequisites are front-loaded, but the single dense paragraph mixes workflow, button typography, contact-field syntax, and validation limits. Some button rules duplicate the schema, and the normalizedContent sentence is confusing rather than concise.

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 complex preview tool with nested contentJson and an output schema, the description covers the main call sequence and content constraints well. The missing mention of the optional personalization parameter and the normalizedContent/contentJson mismatch leave a small but real gap.

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%, so the parameter shapes are already documented; the description adds contentJson rules for images, button typography, and custom fields. However, it says to 'pass normalizedContent' even though the schema's required parameter is contentJson, and it does not mention personalization, creating avoidable ambiguity.

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 first sentence gives a specific verb ('Renders'), resource ('Flow Email contentJson'), and scope ('candidate ... without saving'), which clearly separates it from save/update tools. The domain jargon is dense but unambiguous for the intended agent.

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?

It gives explicit prerequisites: call get_flow_email_content first, use its exact revision as expectedRevision, validate first, and read list_contact_fields before using custom fields. It does not explicitly state when to choose this over validate_flow_email_content or preview_campaign_content, so it is strong but not a complete when/when-not guide.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources