Skip to main content
Glama

workflow.run

Replay a saved browser workflow with variable substitutions, verifying each step against observed browser changes so no-op runs fail instead of passing.

Instructions

Replay a saved workflow, substituting variables. Each step is checked against what browserd observed (landed_characters, observed_change), so a run that did nothing is reported as a failure rather than success. Unsupplied vars fall back to WORKFLOW_VAR_ in the environment, which keeps credentials out of the saved file.

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": {
      "name": "<name>"
    },
    "name": "workflow.run"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
varsNoValues for the workflow placeholders.
dry_runNoReturn the substituted steps without driving the browser.
continue_on_errorNoKeep going after a failed step instead of stopping.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint=false and openWorldHint=true, the description discloses substantial behavior: each step is verified against observed browser state (landed_characters, observed_change), a no-op run is reported as failure rather than success, and unsupplied vars fall back to WORKFLOW_VAR_<NAME> env vars to keep credentials out of the saved file. It does not say what a step-failure halts or how results are reported back to the caller, which keeps it just below the top score.

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, front-loaded with the action, then verification semantics, then the var fallback. No sentence is redundant and each contributes a distinct piece of information.

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 mutating, browser-driving tool with four parameters, a nested vars object, and no output schema, the description covers the essential behavior (verification, failure semantics, credential handling). It stops short of describing what a run returns or how dry_run results differ, though dry_run is documented in the schema.

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 coverage is 75%, so baseline would be 3, but the description adds real meaning for vars: the fallback to WORKFLOW_VAR_<NAME> environment variables and the credential-hygiene rationale, which the schema (an opaque additionalProperties object) does not convey. The name, dry_run, and continue_on_error semantics are left entirely to the schema.

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 states a specific verb and resource — 'Replay a saved workflow, substituting variables' — and the replay semantics distinguish it naturally from the save/list/show/delete siblings. It never names an alternative explicitly, so the differentiation is implicit rather than stated.

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?

Usage is implied by context: you replay an already-saved workflow and pass vars for its placeholders. There is no explicit when-to-use vs when-not-to-use guidance, and no mention of how this relates to workflow.save or workflow.show when a user needs to inspect a workflow before running it.

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

Deploy Server

Other Tools