Skip to main content
Glama
chaining-mcp-server

chaining-mcp-server

workflow_orchestrator

Execute complex multi-server workflows across the MCP ecosystem with dependency management, retries, output mapping, and error handling.

Instructions

Execute complex multi-server workflows across the MCP ecosystem with dependency management and error handling

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

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name for the workflow
stepsYesArray of workflow steps to execute
timeoutNoMaximum execution time in milliseconds
failFastNoWhether to stop execution on first failure
variablesNoGlobal variables available to all steps
workflowIdYesUnique identifier for the workflow
descriptionNoDescription of what this workflow does

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.1.3
    • addedInput schema / properties / steps / items / properties / maxRetries / minimum
      Added value: +0
    • changedInput schema / properties / steps / items / properties / maxRetries / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / timeout / maximum
      Added value: +2147483647
    • addedInput schema / properties / timeout / minimum
      Added value: +1
    • changedInput schema / properties / timeout / type
      Previous value: -"number"New value: +"integer"
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations at all, the description carries the entire burden and does not meet it. It mentions 'dependency management and error handling' in the abstract but never discloses the critical behaviors: whether execution blocks or runs asynchronously (and therefore whether workflow_status must be polled), what side effects occur across external servers, what permission or auth model applies, or what happens to downstream steps when one fails beyond the schema-level failFast flag.

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?

A single front-loaded sentence with no redundancy. It is efficient, but its brevity is a symptom of under-specification for a tool this complex rather than tuned density.

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

Completeness2/5

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

This is a high-complexity orchestration tool with 7 parameters, nested step objects, no output schema, and no annotations. Given that returning-value and execution-model information is unavailable from any structured field, the description should explain what an execution yields and whether results are synchronous — both are absent.

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%, and the nested step object (dependsOn, outputMapping, maxRetries, retryOnFailure) is thoroughly annotated, so the schema does the heavy lifting. The description adds nothing beyond it — no elaboration on how variables interact with step parameters, or on how outputMapping keys must align with dependent step parameter names, which is the most error-prone part of the payload.

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?

Specific verb ('Execute') plus a clearly scoped resource ('complex multi-server workflows across the MCP ecosystem'), with the two enabling features named (dependency management, error handling). It is readily distinguishable from the workflow_cancel and workflow_status siblings, though 'complex' is filler that adds no discriminating information.

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 description implies the tool is for orchestrating multi-step, cross-server operations, which is enough to infer the broad usage context. It never states when to prefer it over simpler single-tool calls, never mentions prerequisites such as a pre-registered workflowId, and never routes the agent to workflow_status or workflow_cancel for follow-up.

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