Skip to main content
Glama

workflow_run

Start a run (async; returns run_id). Each inner pipeline run costs the usual pipeline_run credits. Follow with workflow_run_wait or workflow_run_get.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
variablesNo
workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does add real behavior: asynchronous execution, the run_id return, and per-inner-pipeline credit cost. It omits what happens on invalid workflow_id, whether variables are validated, and what the response includes beyond the ID.

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?

Two short sentences, front-loaded with the action, mode, and return value, then the cost caveat and next steps. No filler, though the parenthetical packing of async and return value is slightly dense.

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 two-parameter mutation with no annotations and no output schema, it covers the lifecycle (async start, run_id, follow-up calls, credit cost) but leaves the 'variables' parameter entirely unexplained, which is a meaningful gap for a tool that accepts arbitrary input data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and neither parameter is documented in the schema, yet the description never explains workflow_id's expected format or what the optional 'variables' object is for or how values are interpolated. Only the required id is loosely implied by 'Start a run'.

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 gives a specific verb and resource ('Start a run') plus the execution mode ('async') and the return value ('returns run_id'), which distinguishes it cleanly from workflow_run_get and workflow_run_wait.

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?

It explicitly names the two follow-up tools, workflow_run_wait and workflow_run_get, and implies this is the entry point for starting work. It stops short of saying when NOT to use it, e.g. relative to pipeline_run for a single-pipeline run, so it lacks full exclusion guidance.

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