Skip to main content
Glama

flow

Records browser interactions, saves them as named test scripts, and replays them without LLM calls, returning pass/fail per step; inspect or export results as Playwright specs.

Instructions

Record & replay without the model. start: begin a new recording tape. save: store the steps recorded since open/start as a named flow. run: replay a flow (or "*" for all) in an isolated context, no LLM calls, returns pass/fail per step. list / show: inspect flows. export: write a Playwright Test .spec.ts.

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": {
      "action": "<action>"
    },
    "name": "flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
varsNovalues for {{placeholders}} when running
actionYes
datasetNorun: CSV file (or name in .fastqa/data/) — the flow runs once per row, columns fill {{placeholders}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.9/5.0
Behavior3/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 disclose real behavior: run executes in an isolated context with no LLM calls and returns pass/fail per step, and dataset re-runs the flow once per row. It does not say whether save overwrites an existing same-named flow, where export writes its .spec.ts file, or what start captures or discards — all material for tools that mutate state and write files.

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?

A single front-loaded purpose sentence followed by a compact action list; every fragment maps to one enum value and nothing repeats what the schema already declares. Telegraphic style is intentional and readable.

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 six-action dispatch tool with no annotations and no output schema, the description covers all action modes and the run return shape. Gaps remain on list/show return content and export destination, which an agent would need for a full picture but can discover by invoking.

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 50%: vars and dataset are documented in the schema, while name and action are not. The description compensates well — the action enum is fully explained clause by clause, and name is given meaning through 'named flow' / 'replay a flow (or "*" for all)'. Only the precise name semantics on save (overwrite vs create) is left ambiguous.

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 names a concrete capability ('Record & replay without the model') and then enumerates each action verb against its resource: start a tape, save a named flow, run a flow, list/show flows, export a .spec.ts. That makes it distinguishable from siblings like act (it explicitly notes 'no LLM calls'). The only shortfall is the opaque tool name 'flow', which the description has to carry entirely.

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?

Per-action guidance is embedded in each clause, and the save clause states the prerequisite ('store the steps recorded since open/start'), which tells an agent the required ordering with the open/act siblings. It stops short of saying when to choose flow over act, audit, or evidence for a given task, so alternatives are implied rather than stated.

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