Skip to main content
Glama

qa.record_start

Starts recording a browser flow as test-harness steps, capturing page mutations with semantic locators resolved before each action runs.

Instructions

Start recording the flow you are about to drive, as steps a test harness can compile. Every mutating page action is captured with its semantic locator resolved before the action runs, which is the only moment that answer is reliable. Network and console were already being recorded and are unaffected.

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": {
      "flow": "<flow>"
    },
    "name": "qa.record_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowYesWhat is being exercised, e.g. "create a todo".
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, and the description adds genuine behavioral context: mutating page actions are captured, semantic locators are resolved before the action runs, and existing network/console capture is unaffected. It still omits concurrency/lifecycle behavior — whether a second start fails, and how the recording ends.

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?

Three tight sentences, front-loaded with the action and its purpose, then the mechanism, then the reassurance about existing capture. No filler, though the final clause is slightly informational rather than actionable.

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

Completeness3/5

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

For a start-a-recording tool with no output schema, the description never says what is returned on success (a recording handle, an id, a confirmation) or how the session is later terminated. The 'why' is well covered; the operational loop is not.

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 coverage is 100%, so the schema already documents all three parameters with examples. The description reinforces that 'flow' describes what is being exercised but adds no new constraint or syntax for flow, target_id, or browser_id, so the baseline of 3 applies.

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?

States a specific verb and resource ('Start recording the flow') plus its output form ('steps a test harness can compile'), which distinguishes it from qa.record_status and qa.record_stop. It does not explicitly name those siblings, so the differentiation is implied 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?

'Start recording the flow you are about to drive' implies the trigger point — before driving the flow — but there is no explicit when-not-to-use, no mention of what happens if a recording is already active, and no pointer to qa.record_stop for ending the session. Usable but requires inference.

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