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 draft

update_flow_draft

Replaces the complete draft Flow definitionJson and optional layout. Set top-level definition.senderIdentityId to an active tenant identity ID for the central Flow sender; null or omission uses the tenant default. On a send_flow_email node, optional senderIdentityId overrides the sender for that step only; omit that node field to inherit the Flow sender. Reusable Flow Emails have no sender setting. Sender precedence is step override, Flow sender, tenant default. First call get_flow_definition or get_flow_details and pass the exact revision as expectedRevision. Call validate_flow_definition first and pass normalizedDefinition when valid. This does not publish or activate the Flow: sender changes require confirmed publication with prepare_publish_flow and commit_publish_flow, and running instances keep their version's selection. Test sends use the tenant default. Existing horizontal and vertical layouts are both supported. For logic-only edits omit layout and layoutMeta to preserve the arrangement. When changing positions, send layout together with the saved layoutMetaJson as layoutMeta (null means legacy horizontal; {version:1,direction:"TB"} means vertical).

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": {
      "flowId": "<flowId>",
      "expectedRevision": "<expectedRevision>",
      "definition": "<definition>"
    },
    "name": "update_flow_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYesFlow ID
layoutNo
definitionYesComplete replacement Flow definition, including top-level senderIdentityId (ID or null for tenant default) and optional send_flow_email node senderIdentityId overrides; omit a node override to inherit.
layoutMetaNo
expectedRevisionYesExact revision returned by the latest Flow read

Output Schema

NameRequiredDescriptionDefault
flowYes
requestIdYes
definitionJsonYes
draftUpdatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent draft mutation, and the description adds substantial context beyond them: sender precedence (step override > Flow sender > tenant default), that running instances keep their version's selection, that test sends use the tenant default, and that Reusable Flow Emails have no sender. The layout-preservation rule (omit layout and layoutMeta for logic-only edits) is also disclosed. The gaps are minor: it doesn't say what happens to the draft if expectedRevision is stale beyond implying failure, nor whether draft history is retained.

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?

Front-loaded with the action and revision requirement, and every sentence carries operational content. The layout/layoutMeta portion spans several dense sentences and repeats the inherit-versus-override idea, which could be tightened, but nothing is filler.

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 5-parameter draft-mutation tool with nested objects and an output schema, the prerequisite reads, validation step, revision pinning, sender precedence, layout migration rules, and publication boundary are all covered. An agent has everything needed to call it without trial and error.

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?

At 60% schema coverage the description carries real weight and does: expectedRevision must be the exact revision from the latest read, definition.senderIdentityId semantics (ID, null, or omission for tenant default), node-level override behavior on send_flow_email, and the layoutMeta encoding (null = legacy horizontal, {version:1,direction:"TB"} = vertical). Only flowId is left to the schema, and the definition schema is otherwise a free-form object.

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?

States a specific verb and resource: replaces the complete draft Flow definitionJson plus optional layout. That scope is clearly distinct from the sibling reads (get_flow_definition, get_flow_details), the validator, and the publish tools, so an agent can route correctly 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?

Gives an explicit ordered workflow: read first (get_flow_definition or get_flow_details) and pass the exact revision as expectedRevision, validate_flow_definition first and pass normalizedDefinition when valid. It also states when-not: this does not publish or activate, so sender changes need prepare_publish_flow and commit_publish_flow.

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