Skip to main content
Glama

Run steps

run_steps

Runs up to 30 tool actions in a single call, halting at the first failure and reporting which step failed and why. Returns every result, including images.

Instructions

Run known actions as one call: at most 30, each { tool: a tool's name, ...its arguments }, as { tool: tap_screen, selector: { text: OK } }; any tool but run_steps and run_flow. Stops at the first failure, saying which and why. Returns every answer, images too; a step reads the screen only with read on it, or last. As a test: run_flow.

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": {
      "steps": "<steps>"
    },
    "name": "run_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
readNo
stepsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare openWorldHint and destructiveHint=false; the description adds real behavior: a hard cap of 30 steps, fail-fast with the failing step and reason reported, and that all answers including images are returned. One nuance is left implicit — the batch can dispatch to tools like tap_screen or manage_app, so passing destructiveHint=false describes the wrapper rather than what a batch can actually do; a note on that would be valuable.

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?

Very compact and front-loaded: purpose, limits, shape, exclusions, failure and return behavior in a few clauses with no filler. The telegraphic phrasing ('As a test: run_flow') and the dangling 'or last' cost some readability, but nothing is redundant.

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 zero-coverage, two-parameter orchestration tool with no output schema, it covers what an agent needs: input shape, step cap, exclusions, fail-fast behavior, and return contents. The remaining gap is the meaning of the read modes, which matters because it changes what each step can see.

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 0%, so the description must carry all meaning. It does explain the steps array well (tool name plus arbitrary arguments, with an example), but the read enum values diff/full/none are never defined, and 'a step reads the screen only with read on it, or last' is too terse to resolve the read semantics unambiguously.

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 — batch-execute known tool calls as one call — and immediately bounds it (at most 30, any tool but run_steps and run_flow). The inline example { tool: tap_screen, selector: { text: OK } } makes the shape concrete, so an agent can distinguish this from run_flow or a single tap_screen 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit exclusions ('any tool but run_steps and run_flow') and points to the alternative for flows/tests ('As a test: run_flow'), plus the constraint that a step reads the screen only with read on it or as the last step. It stops short of saying when batching is preferable to sequential single calls, so it is clear context rather than a full when/when-not rule set.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.