Skip to main content
Glama

flow

Save and replay named step sequences to define a workflow once and execute it in any browser session.

Instructions

Save and re-run named step sequences — define a workflow once (login, checkout, smoke path), replay it in any session. action='save' stores steps (interact_and_test's exact format, all 26 actions); action='run' executes a saved flow on a session via the same engine as interact_and_test; action='list' shows saved flows; action='delete' removes one. Deliberately minimal: verify outcomes by following a run with assert_all or visual_check. Flows persist in data/flows/ across sessions and server restarts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFlow name, e.g. 'login' (letters, digits, . _ -). Required except for list.
stepsNoFor save: steps in interact_and_test's format
actionNoWhat to do (default: list)
session_idNoFor run: session to execute on
descriptionNoFor save: optional human note about what the flow does
continue_on_errorNoFor run: keep executing after a failed step (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses where flows are persisted (data/flows/), that they survive sessions and server restarts, and what each action mode does including that 'delete' removes a flow. It does not state whether delete is irreversible or what a 'run' returns (pass/fail per step), which would matter for a mutation-capable, no-annotation tool.

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?

Front-loaded with the core purpose, then action modes, then the verification caveat and persistence note — a sensible order with no filler sentences. The nested parentheticals ('interact_and_test's exact format, all 26 actions') make a couple of sentences dense, but each still earns its place.

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 6-parameter tool with no annotations and no output schema, the definition covers purpose, all action modes, step-format source, verification strategy, and persistence semantics. Remaining gaps are modest: the return shape of 'run' and whether flows are scoped per project or globally are left unstated.

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 100%, so the baseline is 3, but the description adds real meaning by explaining the behavioral consequences of each enum value (save stores, run executes on a session, list enumerates, delete removes) rather than just restating the schema's 'What to do'. It also clarifies the cross-tool format contract for 'steps' that the schema only alludes to.

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+resource ('Save and re-run named step sequences') and immediately grounds it with concrete examples (login, checkout, smoke path). It also distinguishes itself from the nearest sibling by noting that 'run' uses the same engine as interact_and_test and that 'save' consumes interact_and_test's exact step format.

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?

Gives clear usage context and explicitly routes post-run verification to assert_all or visual_check, which is a meaningful alternative-selection hint. What's missing is an explicit when-not: it never says whether to call interact_and_test directly for one-off actions instead of saving a flow.

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