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

Create Flow Email

create_flow_email

Creates a new reusable Flow Email with a complete native inviomail contentJson document. Flow Emails have no sender setting. Configure the central sender with top-level definition.senderIdentityId in create_flow or update_flow_draft (null or omitted uses the tenant default); optionally set senderIdentityId on a send_flow_email node to override it for that step only. Test sends use the tenant default. Use validate_flow_email_content first and pass normalizedContent when valid. idempotencyKey is required so retries do not create duplicates. 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": {
      "name": "<name>",
      "subject": "<subject>",
      "contentJson": "<contentJson>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_flow_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
subjectYes
contentJsonYesInitial complete 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.
previewTextNo
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault
impactYes
flowEmailYes
requestIdYes
idempotentReplayYes

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?

Goes well beyond the annotations, which only declare write/non-destructive/non-idempotent. It explains that Flow Emails have no sender of their own, that the tenant default applies unless definition.senderIdentityId is set elsewhere or overridden on a send_flow_email node, that test sends always use the tenant default, and that tenant validation reports syntax/location/key errors. Those are exactly the side effects and constraints an agent cannot infer from readOnlyHint/destructiveHint.

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 validation guidance are front-loaded, which is good, but the body becomes a dense run-on covering sender config, test sends, idempotency, button typography, contact-field placeholders, escaping rules and unsupported locations in one block. The long desktop/mobile font-size explanation duplicates the contentJson schema description and could be trimmed.

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?

An output schema exists, so return values need not be explained, and the description covers creation scope, validation workflow, sender resolution, idempotency and placeholder restrictions relevant to a 4-required-parameter mutation. The remaining gap is that it never says what a 'complete native contentJson document' looks like or which sibling would supply one, leaving the hardest part of the call to the agent's inference.

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 only 20%, so the description must carry the load. It does add real meaning for contentJson (button bold/fontSize/mobileFontSize rules, wrapping), idempotencyKey (required to prevent duplicate creation on retries), and constrains subject (no custom-field placeholders). But name and previewText get no semantic treatment, and the 'complete native contentJson document' requirement is never described structurally, so compensation is partial.

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+resource+scope: 'Creates a new reusable Flow Email with a complete native inviomail contentJson document.' It immediately distinguishes the create path from the update path by naming update_flow_draft and by stating that Flow Emails themselves carry no sender setting, which is the key conceptual difference an agent needs.

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?

Strong sequencing guidance: 'Use validate_flow_email_content first and pass normalizedContent when valid' and 'Read list_contact_fields first and use its permanent keys.' It also tells the agent where to configure the sender instead (create_flow / update_flow_draft). However 'pass normalizedContent' is confusing because the schema exposes no such property and sets additionalProperties=false, so an agent could attempt an invalid call; that ambiguity costs a point.

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