Skip to main content
Glama

run_workflow

Execute workflows using natural language prompts by specifying project, domain, and inputs to automate tasks and processes.

Instructions

Run a workflow with natural language.

- Based on the prompt and inputs dictionary, determine the workflow to run
- Format the inputs dictionary so that it matches the workflow function signature
- Invoke the workflow

Args:
    project: Project to run the workflow in.
    domain: Domain to run the workflow in.
    name: Name of the task to run.
    inputs: A dictionary of inputs to the workflow.

Returns:
    A dictionary of outputs from the workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
inputsYes
nameYes
projectYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden but offers limited behavioral insight. It mentions the tool determines workflows and formats inputs, hinting at automation, but doesn't disclose critical traits like permissions needed, rate limits, error handling, or whether it's read-only or destructive. For a tool that likely performs mutations (running workflows), this is a significant gap in transparency.

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 well-structured with a clear opening sentence, bullet points for steps, and separate Args/Returns sections. It's appropriately sized without fluff, though the bullet points could be more concise. Every sentence adds value, but minor tightening could improve efficiency.

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?

Given 4 parameters with 0% schema coverage, an output schema exists, and no annotations, the description is moderately complete. It covers parameters and return values, but lacks behavioral details (e.g., side effects, auth needs) and doesn't fully explain parameter semantics or usage context. The output schema reduces burden, but more context is needed for a complex execution tool.

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 description coverage is 0%, so the description must compensate. It lists all 4 parameters (project, domain, name, inputs) in the Args section and explains 'inputs' as a dictionary matching the workflow function signature, adding meaningful context beyond the bare schema. However, it doesn't detail what 'project' or 'domain' represent or provide examples, leaving some ambiguity.

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?

The description clearly states the tool's purpose: 'Run a workflow with natural language' and explains it determines, formats, and invokes workflows based on prompt and inputs. It distinguishes from siblings like 'get_execution' or 'list_workflows' by focusing on execution rather than retrieval or listing. However, it doesn't explicitly contrast with 'run_task', which might be a similar execution tool.

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 usage when needing to execute a workflow with natural language inputs, but provides no explicit guidance on when to use this vs. alternatives like 'run_task' or other siblings. It mentions determining the workflow based on prompt, which suggests context, but lacks clear when/when-not instructions or prerequisites.

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

Install Server

Other Tools

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/unionai-oss/union-mcp'

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