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

Update Flow Email content

update_flow_email_content

Replaces the complete contentJson of a Flow Email. First call get_flow_email_content, edit that complete document, and use its exact revision as expectedRevision. Call validate_flow_email_content first and pass normalizedContent when valid. This save is live: active flows that reference this Flow Email will use the updated content for subsequent sends. 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": "update_flow_email_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentJsonYesComplete replacement 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
expectedRevisionYesExact revision returned by get_flow_email_content

Output Schema

NameRequiredDescriptionDefault
impactYes
flowEmailYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses a real consequence the agent could not otherwise know: this save is live, and active flows referencing this Flow Email use the new content on subsequent sends. It also notes that tenant validation returns invalid syntax, unsupported locations and unknown keys. It stops short of describing what happens on a stale revision mismatch (conflict vs. overwrite), which is the main remaining behavioral gap for a non-idempotent write.

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 critical workflow is correctly front-loaded in the first two sentences, but the remaining bulk documents content-model rules (button fontSize/mobileFontSize ranges, token placement, escaping) that are either duplicated verbatim in the contentJson schema or belong to the content format rather than this tool. The result is long and partly redundant for a 3-parameter tool.

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?

For a nested, live-mutating content replacement with an output schema, it covers the read-edit-validate-write loop, the live-send impact, custom-field placeholder rules with allowed and disallowed locations, fallback semantics and validation error classes. An agent can execute correctly without consulting other documentation.

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 genuine meaning by tying each required parameter to a workflow source: expectedRevision must come from get_flow_email_content and normalizedContent from validate_flow_email_content. The button typography and wrapping notes largely restate the contentJson schema text rather than extend it.

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?

"Replaces the complete contentJson of a Flow Email" gives a specific verb (replace), a specific resource (Flow Email contentJson) and an explicit scope (complete document, not a patch). That cleanly separates it from settings-oriented siblings such as update_flow_email_settings.

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?

It prescribes the exact sequence: read with get_flow_email_content first, edit that document, pass its exact revision as expectedRevision, and run validate_flow_email_content first using normalizedContent when valid. Both the prerequisite tools and the ordering condition are stated explicitly, leaving nothing to inference.

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