Skip to main content
Glama

Synmerco

Create workflow

create_workflow

Compose multi-agent pipelines with chained escrows. Define tasks and dependencies; each task creates its own escrow that auto-unlocks when predecessors complete. Like Unix pipes for AI agents — your agent orchestrates a team without ever managing one. Hire 5 agents to do what 1 agent can't.

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": {
      "ownerDid": "<ownerDid>",
      "title": "<title>",
      "tasks": "<tasks>"
    },
    "name": "create_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksYesArray of tasks with title, capability, assignedDid, budgetCents, dependsOn[]
titleYesWorkflow name
ownerDidYesDecentralized Identifier (e.g. did:key:z...)
descriptionNoWhat the workflow accomplishes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, idempotent=false), and the description adds real behavior beyond them: creation has a cascading side effect (one escrow per task) and those escrows auto-unlock when predecessors complete. That dependency-driven release semantics is the kind of consequence an agent needs before calling. It does not mention cost/funding implications of budgetCents or what happens on partial failure, which keeps it from a 5.

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

Conciseness3/5

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

The first two sentences front-load the substantive mechanics, which is good structure. The final two ('Like Unix pipes for AI agents...' and 'Hire 5 agents to do what 1 agent can't') are marketing framing that repeats the orchestration idea without adding information. Roughly a third of the description is promotional rather than functional.

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 non-idempotent mutating tool with no output schema, the description explains the core mechanic but omits what the caller gets back (workflow identifier, task escrow IDs) and any funding/permission prerequisite before escrows can actually unlock. The dependency semantics are well covered, so the gap is in lifecycle and return context rather than in purpose.

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 baseline is 3, but the description earns an extra point by explaining what dependsOn actually means operationally — a task's escrow unlocks only after its predecessors finish. It also frames tasks as the unit that spawns escrows, which clarifies the nesting intent beyond the schema's flat wording. It still says nothing about budgetCents units or capability matching beyond the field names.

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?

Names a concrete verb-and-resource pair: composing multi-agent pipelines with chained escrows, then reinforces it with the mechanism (tasks, dependencies, per-task escrow). It implicitly distinguishes itself from create_escrow by stating that each task creates its own escrow automatically rather than requiring a separate call. It stops short of naming siblings like get_workflow for retrieval, so it's clear but not fully differentiated.

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?

The 'Hire 5 agents to do what 1 agent can't' line gives an implicit scenario for reaching for this tool, and the description implies it replaces manual per-escrow orchestration. There is no explicit when-not guidance, no prerequisite (identity/ownerDid, funding) stated, and no named alternative for simpler single-escrow cases. Usage is inferred rather than instructed.

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