Skip to main content
Glama

Robot Actions — Remote Device Control

Flow replay start

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.5/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, non-idempotent), and the description adds real behavioral context beyond them: it runs in the background, returns a replayId immediately, and auto-skips validation failures because MCP has no interactive input. It does not mention that resetAppData wipes device data in prose, nor any auth/rate considerations, so it stops short of 5.

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?

Four tight sentences, front-loaded with the action, then the return value, then the sibling routing, then the edge-case behavior. No sentence is redundant.

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

Completeness5/5

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

No output schema exists, so the description carries the return-value burden and does so ('Returns a replayId immediately'). Combined with async semantics and sibling routing, an agent has everything needed to call and follow up correctly.

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 description coverage is 100%, so all six parameters including resetAppData and visualCheckEnabled are already documented in the schema. The description adds no parameter-level detail beyond it, so the baseline 3 applies.

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 and resource ('Kick off a flow replay') and immediately scopes it as background/async, and explicitly distinguishes it from the sibling flow_recording_replay. An agent can tell exactly what this does without opening the schema.

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?

Names the alternative (flow_recording_replay) and the precise condition that selects this tool ('when you want to monitor live or do other work while the replay runs'), plus routes to flow_replay_status for polling. Explicit when-to-use and when-not guidance.

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