Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

createWorkflow

Create a workflow draft with a trigger node or a complete graph, returning the revision needed to edit it with workflow operations.

Instructions

Create a workflow with a draft.

Without graph, the draft holds one trigger node, ready for editWorkflow ops. Pass graph only to start from a complete graph. The response carries the revision you need to edit.

(Tags: Workflows)

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>"
    },
    "name": "createWorkflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesA non-empty name.
graphNoA complete graph to start a workflow from, in the same shape `getWorkflow` returns under `draft`. A workflow you read can be sent back as a new one. It is built with the same checks as `editWorkflow` ops. Most callers skip it and build with `editWorkflow` instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.22.0
    • addedInput schema / properties / graph
      Added value: +{
      +  "description": "A complete graph to start a workflow from, in the same shape `getWorkflow`\nreturns under `draft`. A workflow you read can be sent back as a new one.\nIt is built with the same checks as `editWorkflow` ops. Most callers skip it\nand build with `editWorkflow` instead.\n",
      +  "properties": {
      +    "edges": {
      +      "items": {
      +        "properties": {
      +          "from": {
      +            "description": "Id of the node the edge starts at.",
      +            "type": "string"
      +          },
      +          "handle": {
      +            "description": "The output of the `from` node. Omit it, or send `default`, for a plain node's only output.",
      +            "type": "string"
      +          },
      +          "to": {
      +            "description": "Id of the node the edge ends at.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "from",
      +          "to"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "nodes": {
      +      "items": {
      +        "properties": {
      +          "config": {
      +            "additionalProperties": true,
      +            "description": "The node's settings. The fields come from `getWorkflowNodeType`.",
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Lowercase letters, digits and underscores, starting with a letter. Later nodes read this node's output as `{{ context.<id>.<field> }}`.",
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "position": {
      +            "properties": {
      +              "x": {
      +                "type": "number"
      +              },
      +              "y": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": {
      +            "description": "A node type from `listWorkflowNodeTypes`.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "type"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "nodes",
      +    "edges"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "A non-empty name.",
      +  "type": "string"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "graph": {
      -      "description": "A complete graph to start a workflow from, in the same shape `getWorkflow`\nreturns under `draft`. A workflow you read can be sent back as a new one.\nIt is built with the same checks as `editWorkflow` ops. Most callers skip it\nand build with `editWorkflow` instead.\n",
      -      "properties": {
      -        "edges": {
      -          "items": {
      -            "properties": {
      -              "from": {
      -                "description": "Id of the node the edge starts at.",
      -                "type": "string"
      -              },
      -              "handle": {
      -                "description": "The output of the `from` node. Omit it, or send `default`, for a plain node's only output.",
      -                "type": "string"
      -              },
      -              "to": {
      -                "description": "Id of the node the edge ends at.",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "from",
      -              "to"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "nodes": {
      -          "items": {
      -            "properties": {
      -              "config": {
      -                "additionalProperties": true,
      -                "description": "The node's settings. The fields come from `getWorkflowNodeType`.",
      -                "type": "object"
      -              },
      -              "id": {
      -                "description": "Lowercase letters, digits and underscores, starting with a letter. Later nodes read this node's output as `{{ context.<id>.<field> }}`.",
      -                "type": "string"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "position": {
      -                "properties": {
      -                  "x": {
      -                    "type": "number"
      -                  },
      -                  "y": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": {
      -                "description": "A node type from `listWorkflowNodeTypes`.",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "type"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "nodes",
      -        "edges"
      -      ],
      -      "type": "object"
      -    },
      -    "name": {
      -      "description": "A non-empty name.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "name"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "requestBody"
      -]New value: +[
      +  "name"
      +]
  2. Addedv0.14.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-open-world creation call. The description adds value on top: the draft starts with one trigger node, the graph is validated with the same checks as editWorkflow ops, and the response includes the `revision` needed for subsequent edits.

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 core action, followed by the conditional on `graph` and the return-value hint; no sentence is wasted. The trailing '(Tags: Workflows)' line is the only extraneous element.

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?

For a two-parameter creation tool with no output schema, the description covers the key behavior (draft shape, graph validation, revision in response) and the schema fully documents the nested graph structure. What remains unstated, such as whether creation implies activation, is minor.

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; the description earns an extra point by explaining the semantic effect of omitting `graph`, its round-trip relationship to getWorkflow's `draft`, and the recommendation to prefer editWorkflow over supplying 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?

States a specific verb and resource ('Create a workflow with a draft') and immediately characterizes the resulting artifact as a draft ready for editWorkflow ops, which separates it cleanly from editWorkflow and the other create* siblings.

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 explicit conditional guidance: omit `graph` to get a single trigger node, pass it only to start from a complete graph, and notes most callers should skip it and build via editWorkflow. It does not address broader when-to-use questions like prerequisites or whether publishing is required afterward, so it stops just short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools