Skip to main content
Glama

test_run_workflow

DestructiveIdempotent

Fire a workflow against a synthetic context for testing. PRO+ feature (automations). Picks any existing task in the workflow's project (or any org task for org-wide workflows) and builds a synthetic context, then writes a WorkflowRun with workflowName suffixed "(test)" and runs the graph end-to-end. Returns the new runId. Use list_workflow_runs to monitor the result. MUTATION: writes a WorkflowRun row + may fire downstream step actions. Permission: automation.manage on the workflow's project (or org MANAGER+ for org-wide workflows).

Input Schema

NameRequiredDescriptionDefault
workflowIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

The description significantly enhances behavioral transparency beyond the annotations. It details that the operation is a "MUTATION" and clarifies that this mutation involves writing a WorkflowRun row *and* potentially firing downstream step actions, which is crucial context.

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 dense but highly efficient, front-loading the core function immediately. While long, every clause provides high-value context regarding execution, naming, side effects, and permissions.

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

Completeness5/5

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

The definition is extremely complete, providing details on context building, naming conventions, mutation severity, and the necessary permissions. It ensures the agent knows not only how to run the test but also how to verify the outcome.

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?

With 0% schema description coverage, the description should have clarified the expected format or constraints of the `workflowId`. Instead, it focuses heavily on the operational context of the tool rather than the semantics of the input parameter itself, failing to compensate for the coverage gap.

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 defines the purpose: firing a workflow for testing purposes using a synthetic context. It distinguishes itself from standard workflow runs by stating the resulting workflowName is suffixed with "(test)".

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?

It provides excellent guidance by specifying the required context (synthetic context) and detailing how to track the outcome. It explicitly directs the user to use `list_workflow_runs` to monitor the result after the test run.

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.