Skip to main content
Glama

run

Run Maestro flow YAML on this session's simulator and return the resulting screen changes. Failures name the step, its type, device reach, current screen, and selectors to try.

Instructions

Run Maestro flow YAML on this session's simulator and get back what changed on screen. A failure names the step, its kind, whether it reached the device, the screen now and selectors to try. Passing steps are recorded: 'node_modules/.bin/agentlane record save ' writes them as a flow.

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": "run"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoFlow variables, read as ${NAME}.
fileNoA flow file instead, absolute or relative to the lane's folder.
yamlNoMaestro commands, with or without an `appId:` header and `---`. Without one, appId or the last app used is added.
appIdNoThe bundle id for YAML without a header.
quickNoTap without waiting for the screen to settle; for exploring, not for proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries real weight and delivers: it specifies the return payload (what changed on screen), the failure diagnostics (step, kind, device reachability, current screen, suggested selectors), and a follow-up path for persisting passing steps. It does not discuss timeouts, device state side effects, or whether a prior session/app must exist, which keeps it short of a 5.

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 front-loaded sentences: purpose first, then failure reporting, then the recording escape hatch, each earning its place. The literal `node_modules/.bin/agentlane record save <file>` string is dense but is genuinely actionable information rather than filler.

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?

With five optional parameters, no output schema, and no required fields, the description does the necessary work on the return side by describing both success and failure shapes. Missing only prerequisites (an active session/app) and failure-mode limits such as timeouts to be fully complete.

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 five parameters are already documented in the input schema, including env substitution, file vs yaml, appId defaulting, and quick mode. The description adds no parameter-level meaning beyond echoing that YAML is the unit of work; a baseline 3 is correct.

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 — run Maestro flow YAML on this session's simulator — and names the outcome (what changed on screen). It reads clearly as an executor rather than a passive viewer, which separates it from look/screenshot, though it never names those siblings explicitly.

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?

Usage is only implied: you run a flow when you have flow YAML or a flow file to execute. There is no explicit when-to-use/when-not guidance and no statement such as 'use screenshot for a one-off visual check instead', so the agent must infer the boundary from the sibling names.

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