Skip to main content
Glama

Run workflow

run_workflow

Run a workflow now and return the outcome: status, content_type, the workflow's output (decoded as a string; read it per content_type), and a trace_summary of which steps ran. Pass version= to test an unpublished draft (the number returned by create_workflow_version); omit for the published version. For per-block detail when debugging, call get_workflow_run_traces with the returned run_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNothe workflow slug to run (provide this or workflow_id)
inputNoJSON bound as the workflow's $input for this run
versionNoexplicit version to run; 0 (default) runs the last published version. To test a draft you just created but have not published, pass the version number returned by create_workflow or create_workflow_version
datafileNooptional: a datafile slug to bind as the workflow's host context ($datafile / $data) for this run — mirroring how a dynamic endpoint binds one, so you can test a workflow that reads $datafile without wrapping it in an endpoint. Binds the datafile's current stored content (its JSON must be an object). A trailing @latest/@published is ignored.
workflow_idNothe workflow id to run (provide this or slug)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
outputNo
run_idYes
statusYes
messageNo
content_typeYes
trace_summaryNo
trace_truncatedNo

Schema Changelog

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

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare openWorldHint=true and destructiveHint=false; the description adds genuinely useful behavior: output is returned decoded as a string and must be interpreted per content_type, each run returns a trace_summary of executed steps, and draft vs published runs are governed by the version parameter. No contradiction with the annotations — it neither overstates destructiveness nor hides it, though it stops short of warning about side effects.

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?

Three sentences, each earning its place: the outcome contract, the draft-vs-published version behavior, and the debugging pointer. All essential guidance is front-loaded before the alternative tool is mentioned.

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?

For a 5-parameter execution tool with an output schema, the description covers the return contract, the draft-testing flow, and the debugging path, and the 100%-coverage schema fills in parameter details. The only notable omission is an explicit warning about side effects or cost of executing a workflow, which openWorldHint only weakly implies.

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%, so the baseline of 3 applies; the description itself adds no per-parameter syntax beyond the schema. It does add cross-parameter flow context (version connects to create_workflow_version's return value; run_id connects to get_workflow_run_traces), but the schema already documents each parameter in detail, so the description adds only marginal value here.

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?

States a specific verb and resource ('Run a workflow now') and enumerates the exact return payload (status, content_type, decoded output, trace_summary), which distinguishes it from read-only siblings like get_workflow and get_workflow_run_traces. The scope of what it does is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance: pass version=<n> to test an unpublished draft vs omit for the published version, and explicitly routes debugging to get_workflow_run_traces using the returned run_id. The datafile parameter description also defines the scenario (testing a $datafile-reading workflow without wrapping it in an endpoint), so there is no ambiguity about when this tool is appropriate.

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.

TDQS

A4/5.0
Disambiguation5/5

Every resource family follows the same verb+noun pattern and each tool name uniquely identifies a resource-action pair (create_app vs create_app_version vs update_app vs publish_app). Closest overlaps like analyze_resource vs get_resource_graph and patch_datafile vs update_datafile are explicitly differentiated by their descriptions, so misselection risk is low despite the scale.

Naming Consistency5/5

Names are almost uniformly verb_noun snake_case with a consistent lifecycle vocabulary: create/get/update/delete/list/publish/unpublish/version. Minor outliers like whoami and run_schedule_now are idiomatic and do not break the predictability of the set.

Tool Count1/5

At 93 tools this far exceeds the calibration's 50+ extreme-mismatch case. The count is inflated by repeating create/get/update/delete/version/publish/unpublish across ten resource families; even though each family is systematic, the combined surface is very hard for an agent to navigate and keep in context.

Completeness4/5

Core CRUD/publish/version lifecycles are present for apps, workflows, endpoints, schedules, schemas, datafiles, and api templates, and dependency analysis is well covered. However, secret creation/updating, asset upload, custom-domain deletion, and version-range enumeration for several resource types are absent or left to the external dashboard, so agents hit a few manual dead ends.

Resources