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

create_flow

Creates a new unpublished Flow with a draft definition. Set top-level definition.senderIdentityId to an active tenant identity ID for the central sender; null or omission uses the tenant default. Each send_flow_email node may optionally set senderIdentityId to override the sender for that step only; omit it to inherit the Flow sender. Reusable Flow Emails have no sender setting, and test sends use the tenant default. Call get_flow_authoring_context and validate_flow_definition first, then pass normalizedDefinition when valid. idempotencyKey is required so retries do not create duplicates. New flows are automatically arranged top-to-bottom. Prefer omitting layout and layoutMeta. Legacy coordinates without layoutMeta are recomputed vertically. Only for an intentional manual layout provide all node positions and layoutMeta {version:1,direction:"TB"} together.

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>",
      "definition": "<definition>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
layoutNo
definitionYesInitial complete Flow definition with optional central senderIdentityId and per-send_flow_email senderIdentityId overrides.
layoutMetaNo
descriptionNo
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault
flowYes
requestIdYes
definitionJsonYes
idempotentReplayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the write/non-open-world profile, but the description adds substantive behavior: sender identity inheritance (top-level default, per-node override, tenant default for test sends, no sender on reusable Flow Emails), retry dedupe via idempotencyKey, and automatic top-to-bottom arrangement with recomputation of legacy coordinates. There is a mild tension with idempotentHint=false, but that annotation describes the operation's inherent repeatability while the key provides keyed dedupe on retry, so it is not a contradiction.

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

Conciseness4/5

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

Purpose is front-loaded and every sentence carries non-obvious information, but the layout/legacy-coordinate passage is dense and would read better as a short bulleted rule. No filler or repetition otherwise.

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 mutation tool with a nested definition object, low schema coverage, and an output schema, the description covers prerequisites, sender inheritance, retry safety, and layout defaults. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is only 17%, so the description has to carry the semantics, and it does for the hard parts: definition.senderIdentityId (central sender, null/omitted = tenant default), per-send_flow_email senderIdentityId override, layout/layoutMeta pairing rules, and idempotencyKey purpose. The trivial name and description parameters are left to the schema, which is acceptable.

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?

"Creates a new unpublished Flow with a draft definition" gives a specific verb (creates), a specific resource (Flow), and the resulting state (unpublished draft), which separates it from commit_publish_flow and create_flow_from_flow. An agent can identify the operation without opening the schema.

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?

Explicit prerequisite chain: "Call get_flow_authoring_context and validate_flow_definition first, then pass normalizedDefinition when valid," and "idempotencyKey is required so retries do not create duplicates." It also gives an explicit default/exception rule for layout ("Prefer omitting layout and layoutMeta... Only for an intentional manual layout provide all node positions and layoutMeta together"), which is exactly the when/when-not guidance an agent needs.

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