Skip to main content
Glama

volanea_update_workflow

DestructiveIdempotent

Update a workflow by id — edit the graph/trigger, or set status to 'active' (start processing live events) or 'paused'. Activation is deliberately separate from creation so a human-reviewable draft always exists first. graph replaces the stored graph wholesale, so read it with volanea_get_workflow first if you are amending one.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "volanea_update_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew display name. Omit to leave it unchanged — this is a partial update, not a replace.
graphNoAutomation graph. Exactly one `trigger` node is the entry point; edges connect node ids. Node types and their `config`: - trigger: entry node, no config. - send_email: { templateId? } and/or { subject?, body? (HTML), fromEmail?, fromName? } — template fields fill anything omitted. - delay: { minutes?, hours?, days? } (defaults to 1 minute if all omitted). - wait_event: { event: "<eventName>", timeoutHours? (default 72) }. The unlabeled outgoing edge fires when the event arrives; an edge labeled "timeout" is taken on timeout. - condition: { conditions: <same condition tree as segments> }. Outgoing edges must be labeled "yes" and "no". - update_contact: { set: { <customField>: value, ... }, subscribed? }. - webhook: { url, payload? } — POSTs workflow/contact context to your URL (5s timeout). - exit: ends the walk. `x`/`y` are canvas coordinates for the dashboard editor — space nodes out (e.g. x = index * 260, y = 80).
statusNo`draft` and `paused` workflows enrol NO ONE: matching events are silently ignored, which is the usual reason a workflow "does not fire". Set `active` to go live — that starts affecting real contacts immediately.
reentryNoWhether a contact can enter again. `never` = once per contact, ever (welcome series). `after_exit` = again once they have finished (abandoned cart). `always` = every trigger enrols them, even mid-run — the only option that can send one contact overlapping copies, so choose it deliberately.
triggerNoEvent name that enrols a contact, e.g. `order.placed`. Must match what your app actually sends, character for character: a mismatch is not an error, it simply never fires. Check volanea_list_resources { event_names } for what this project has really recorded.
project_idNoWhich project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.
workflowIdYesThe wf-… id.

Output Schema

NameRequiredDescriptionDefault
codeNoMachine-readable failure code to branch on. Present only when success is false.
dataNoPresent when success is true.
errorNoHuman-readable failure reason. Present only when success is false.
successYesFalse when the call failed; read `error` and `code` in that case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "Which project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that activation immediately starts affecting real contacts, that `graph` replaces the stored graph wholesale (the source of the destructiveHint risk), and that draft/paused silently enrol no one — a concrete failure mode. The schema further documents auth scoping (project API key reaches only its own project) and overlapping-run risk, so the mutation's consequences are fully disclosed.

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

Conciseness5/5

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

Three tight sentences, each doing distinct work: purpose first, design rationale second, the destructive graph-replacement caveat third. No filler and no repetition of schema content.

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 destructive, idempotent mutation with a nested graph payload, the description covers what changes, the risk of wholesale replacement, the activation side effect, and the read-first precondition; an output schema exists so return values need not be explained. Nothing an agent needs before calling is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: it explicitly frames the call as a partial update, warns that `graph` is a wholesale replacement requiring a prior read, and explains why status changes are a separate operation from creation. That is real interpretive value rather than restatement.

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 ('Update a workflow by id') plus the two modes of operation (edit graph/trigger, or set status), which immediately separates it from volanea_create_workflow and volanea_get_workflow. An agent can tell without opening the schema that this is the mutation entry point.

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?

Gives clear situational context: activation is deliberately separate from creation so a draft exists first, and it directs the agent to call volanea_get_workflow before amending an existing graph. It never names create_workflow as the alternative for new workflows or states an explicit 'do not use to create', so it stops just short of full when/when-not coverage.

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.