Skip to main content
Glama

Create workflow

create_workflow

Create a named workflow: a route of stages that requests in the project follow. name is unique in the project; description says which requests it handles. Nodes are Start, optional Idea, Batch, optional Delivery, optional Workflow (the step that improves the Workflow itself after a run), and Finish. Start can connect to an existing Batch without Idea, and Batch can connect to Workflow or Finish without Delivery. Start can also connect to Delivery, for a workflow that only creates or adds to a Delivery: Start to Delivery to Finish, or Start to Delivery to Workflow to Finish, with no Batch node. Each edge.data must contain instructionDocumentIds (existing project document IDs) and contextKinds (features and/or dictionary; each adds only a short outline, top-level feature names or dictionary words, that the agent expands with the read tools). edge.data may also carry rulebookIds, an ordered list of the project's ruleset IDs attached to that connection; leaving it out attaches none. Select documents on connections; do not create Instructions, Dictionary, or Features nodes or put text on lines. Projects work without a Workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkflow name, unique in the Project.
edgesYesConnections between stages, each with its Instructions, context kinds, and Rulesets.
nodesYesWorkflow stages.
projectIdYesId of the Project.
requestIdNoOptional unique ID for this create. After a timeout, retry with the same requestId and arguments: the record already created is returned instead of a duplicate.
descriptionYesWhich requests this Workflow handles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description must carry most of the behavioral burden. It does disclose the non-obvious constraint that instruction documents must be attached on edges rather than as nodes ('do not create Instructions, Dictionary, or Features nodes or put text on lines'), plus the uniqueness of name. It doesn't cover permissions, what happens on validation failure, or retry semantics beyond what requestId's schema already says.

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

Conciseness2/5

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

One long paragraph that mixes scope, node taxonomy, edge requirements, and constraining rules in no clear order. Critical usage constraints ('Each edge.data must contain instructionDocumentIds and contextKinds') are buried mid-paragraph after an exhaustive node enumeration, and the dependency lists (Start→Delivery→Workflow, no Batch) read like schematic notes rather than actionable structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter creation tool with no output schema and untyped nested arrays, the description covers the domain space reasonably but omits the return value and whether the created workflow is immediately active. It is adequate for building a valid graph but leaves the calling agent without confirmation of what success returns or how to detect invalid combinations.

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 100%, so the schema already documents name, projectId, description, and requestId. The description adds real domain meaning to edges (instructionDocumentIds, contextKinds, rulebookIds ordering and defaults) that the schema's generic 'each with its Instructions, context kinds, and Rulesets' does not. However nodes and edges are untyped arrays in the schema, and the description's node/edge semantics are the only docs for their internal shape, which partially compensates but leaves structure under-specified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 named workflow') and defines the domain object concretely: 'a route of stages that requests in the project follow'. It's distinguishable from sibling create_* tools by its domain vocabulary, though it doesn't name alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage by describing the node graph model in depth, and the closing line 'Projects work without a Workflow' hints at optionality. But it never says when an agent should reach for this tool versus update_workflow or start_workflow, and there are no explicit exclusions or alternatives.

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