Skip to main content
Glama

run_workflow

Destructive

Execute a YAML workflow with optional parameters and return step-by-step results. Use dry_run first to preview any destructive side effects.

Instructions

Execute a workflow and return its results. Give a workflow (a name from list_workflows or a file path) and optional params; runs it to completion and returns {status, workflow, outputs} where outputs maps each step name to its result. DESTRUCTIVE: a workflow may run arbitrary shell commands and Python, write files, and make HTTP requests — call dry_run_workflow first if you need to preview side effects, and only run workflows you trust.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoOptional values for the workflow's declared inputs, as an object of name -> value. Omit to use each parameter's default.
workflowYesWorkflow to target: either a name returned by list_workflows, or a path to a workflow YAML file.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.9.6

TDQS

A4.4/5.0
Behavior5/5

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

The description details that a workflow may run arbitrary shell commands, Python, write files, and make HTTP requests, explaining the nature of destructiveness beyond the annotations (destructiveHint=true, openWorldHint=true). There is no contradiction with annotations.

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

Conciseness5/5

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

The description is front-loaded with the main action and output, followed by a concise warning. Every sentence adds necessary information without redundancy or 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?

Without an output schema, the description provides the return structure ({status, workflow, outputs}) and covers safety warnings. It mentions dry_run_workflow for preview. It could also reference validate_workflow for completeness, but it is adequately thorough given the tool's complexity.

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 coverage is 100% with descriptions for both parameters. The description only paraphrases the schema (e.g., workflow is a name or path, params are optional) and adds no substantive extra meaning beyond the schema itself.

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 clearly states that the tool executes a workflow and returns results, specifying inputs (workflow name/path and optional params) and output structure ({status, workflow, outputs}). This is distinct from siblings like list_workflows, validate_workflow, and dry_run_workflow.

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?

The description explicitly warns that the tool is destructive and advises calling dry_run_workflow first to preview side effects, and only running trusted workflows. This provides clear guidance on when to use the tool vs. the alternative, though it could also mention validate_workflow.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orieg/yaml-workflow'

If you have feedback or need assistance with the MCP directory API, please join our Discord server