Skip to main content
Glama

Run several Android tools in order

mobile_batch

Execute multiple registered mobile tool calls in one request, validating each step against its schema and optionally stopping the sequence at the first failure.

Instructions

Call other registered tools in one request. Each step is validated with that tool's schema. Nested mobile_batch, screenshots, and blocking screen records are rejected. stopOnError ends the sequence at the first failure.

Input Schema

NameRequiredDescriptionDefault
stepsYes
stopOnErrorNo

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.7/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: each step is schema-validated, nested batches and certain tool types are rejected, and stopOnError terminates the sequence on first failure. These are meaningful execution semantics. It stops short of noting the 16-step cap or ordering/rollback behavior on partial failure.

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?

Four tight sentences, front-loaded with the core action, then validation, then exclusions, then the stopOnError flag. No filler; each clause carries a constraint or behavior.

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 an output schema covering returns and annotations covering the safety profile, the description supplies the operational constraints an agent needs (validation, rejected step types, stopOnError). Missing the 16-step limit and the mobile_-prefix requirement keeps it from being 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 0%, so the description must carry the load. It explains stopOnError ('ends the sequence at the first failure') and that step args are validated, which adds value, but omits the minItems/maxItems bounds (1-16) and the mobile_ naming pattern, both of which the schema encodes only structurally.

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 clear verb and resource: 'Call other registered tools in one request' within an ordered sequence. The meta/aggregator role is unmistakable and distinct from the concrete UI/input siblings, though no sibling batch tool is named to contrast against.

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?

Implies that this is the tool for chaining multiple operations, and it explicitly lists what cannot be batched (nested mobile_batch, screenshots, blocking screen records). But it never says when batching is preferable to calling tools individually, nor what the alternative is.

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