Skip to main content
Glama

Robot Actions — Remote Device Control

flow_replay_start

Kick off a flow replay in the background. Returns a replayId immediately — pass it to flow_replay_status to poll progress. Use this instead of flow_recording_replay when you want to monitor live or do other work while the replay runs. Validation failures are auto-skipped (MCP has no interactive input).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformNoDevice platform — auto-detected from recording if omitted
targetUdidYesUDID of the device to replay on
recordingIdYesFlow recording ID to replay (from flow_recording_list)
resetAppDataNoWipe the recorded app's data (Android `pm clear`) BEFORE replay so it starts from a clean first-run state. Use this for recordings of enrollment / first-run / logged-out flows (e.g. create-passcode) that will NOT reproduce against an already-enrolled or logged-in app. Destructive — erases the app's local data on the target device. Android only; default false.
validateElementsNoUse recorded element locators to find targets before acting (default: true)
visualCheckEnabledNoOpt in to AI Visual Review: capture per-step baselines and run the end-of-replay visual-analysis phase. Slower; default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool runs in the background, returns immediately with a replayId, auto-skips validation failures, and that resetAppData is destructive and erases app data. This is strong behavioral disclosure for a mutation tool, though it doesn't detail failure modes or what happens if the replay cannot start.

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 with no filler. The core behavior and return value are front-loaded, the sibling alternative is named, and the validation-failure caveat is a single clause. Every sentence 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 background-start tool with no output schema, the description covers the key things an agent needs: what it returns, how to poll, when to prefer it, and the destructive resetAppData caveat. It doesn't describe error conditions or how to abort, but those are covered by sibling tools (flow_replay_abort) and the description is otherwise complete for correct invocation.

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. The description adds meaningful context beyond the schema: it explains the purpose of resetAppData (clean first-run state for enrollment/first-run flows), notes it is destructive and Android-only, and clarifies that platform is auto-detected if omitted. This goes beyond the schema's field descriptions.

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 states the tool kicks off a flow replay in the background, returns a replayId immediately, and explicitly distinguishes it from flow_recording_replay. The verb 'kick off' plus the resource 'flow replay' and the immediate-return behavior make the purpose unambiguous.

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?

The description explicitly says to use this instead of flow_recording_replay when you want to monitor live or do other work while the replay runs, and tells the agent to pass the returned replayId to flow_replay_status for polling. It also notes validation failures are auto-skipped because MCP has no interactive input, which is a clear when-to-use/when-not-to-use signal.

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.

Resources