Skip to main content
Glama

create_workflow

Chain AI agent steps into a multi-agent workflow using output references like $step1.result, then receive a workflow_id to run, schedule, or manage the pipeline.

Instructions

Create a new AIProx workflow — a multi-agent pipeline that chains AI agent steps. Each step specifies a capability and input. Use $step1.result, $step2.result etc. to chain outputs. Returns a workflow_id you can use to run or manage the workflow.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWorkflow name (e.g. 'daily-intel', 'token-scanner')
stepsYesOrdered list of agent steps
scheduleNoOptional cron schedule: @hourly, @daily, @weekly, or cron expression like '0 9 * * *'
webhook_urlNoOptional webhook URL to POST results to after each run
notify_emailNoOptional email address to notify after each run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses key behaviors: chaining via $stepN.result syntax, that a workflow_id is returned, and mentions optional scheduling/webhook/email features via schema. It doesn't state permissions, validation rules, or limits, but the core behavioral contract is covered.

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?

The description is three sentences, front-loaded with the purpose and then the chaining semantics and return value. Every sentence earns its place; no fluff.

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?

Given the complexity (nested step array, chaining, optional scheduling), the description covers the essential model: steps chain via $stepN.result and returns workflow_id. However, without an output schema and with no annotations, it could say more about what the returned workflow_id looks like or whether creation validates capabilities.

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 would be 3, but the description adds value by explaining the chaining semantics with $step1.result, which is central to how the steps' input parameter works. It doesn't elaborate on schedule/webhook/email beyond the schema, but the key semantic (chaining) is reinforced.

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?

The description uses a clear verb+resource ('Create a new AIProx workflow') and explains what a workflow is (a multi-agent pipeline that chains agent steps), distinguishing it from siblings like run_workflow or delete_workflow.

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?

It implies this is the creation step before running or managing a workflow ('Returns a workflow_id you can use to run or manage the workflow'), which implicitly points to run_workflow. However, it does not explicitly state when to use this versus run_template or other siblings, leaving some guidance to inference.

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