Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 0bull Phone Farm. If you published it, claim ownership there.

Run macro

run-macro-tool
Destructive

Replay a recorded macro (or a raw step list) on one farm phone: exact taps, swipes and typing, with no AI deciding anything. The phone must show video_live: true in list-phones-tool. Give exactly one of:

  • workflow (string): a macro name from list-macros-tool (the user's own or a system one), with params filling its {{placeholders}}.

  • steps (array): a raw step list run as-is (each step needs an "action"). For a task described in words, use run-phone-agent-tool (one phone, once) instead. A full workflow can run for minutes, so this queues the run and returns its run id immediately. Poll get-phone-run-tool with that id until it succeeds or fails.

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": {
      "slot": "<slot>"
    },
    "name": "run-macro-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYesPhone slot to run on, given as the `slot` UUID from list-phones-tool (its display name like "slot12" is not accepted). The phone must show `video_live: true` there.
stepsNoRaw step list to run as-is; each step needs an "action". Give this OR workflow, not both.
paramsNoValues for the macro's `parameters` from list-macros-tool, keyed by name; scalars only. Optional.
workflowNoMacro `name` from list-macros-tool. Give this OR steps, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / params / description
      Previous value: -"Scalar params for the workflow's {{placeholders}} (for workflow). Optional."New value: +"Values for the macro's `parameters` from list-macros-tool, keyed by name; scalars only. Optional."
    • changedInput schema / properties / slot / description
      Previous value: -"Phone slot to run on, given as the `slot` UUID from list-phones (its display name like \"slot12\" is not accepted). Must be cast/live."New value: +"Phone slot to run on, given as the `slot` UUID from list-phones-tool (its display name like \"slot12\" is not accepted). The phone must show `video_live: true` there."
    • changedInput schema / properties / workflow / description
      Previous value: -"Named workflow / system macro to resolve and run. Give this OR steps, not both."New value: +"Macro `name` from list-macros-tool. Give this OR steps, not both."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true, readOnlyHint=false), the description discloses that execution is verbatim and non-agentic, that a workflow can run for minutes, and that the call is asynchronous — queued with a run id returned immediately. That async contract is exactly the kind of behavior an agent cannot infer from annotations. It stops short of describing the effect surface of arbitrary steps on the device, leaving the destructive profile to the annotations.

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?

Front-loaded with the action and the 'no AI' qualifier, then a bulleted enumeration of the two input modes, then the alternative and the async note. Every line earns its place, though the video_live prerequisite is stated twice (prose and schema), a minor redundancy.

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?

For a mutation tool with nested params and no output schema, it covers everything an agent needs to call it correctly: prerequisite state, input-mode choice, the returned run id, and how to follow up. The async pattern is spelled out rather than assumed.

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 coverage is 100%, so the schema already documents slot, workflow, steps, and params, including the mutual exclusivity. The description adds only marginal meaning on top — that params fill the macro's {{placeholders}} and may be the user's own or a system macro — so the baseline 3 is appropriate.

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 — replay a recorded macro or raw step list on one farm phone — and pins down the semantics with 'exact taps, swipes and typing, with no AI deciding anything.' It explicitly distinguishes itself from run-phone-agent-tool for word-described tasks, so an agent can route without opening either 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?

Gives explicit when-to-use (a recorded macro or raw step list) and when-not (a task described in words → run-phone-agent-tool), plus a hard prerequisite (video_live: true) and the exactly-one-of constraint between workflow and steps. It even supplies the follow-up loop: poll get-phone-run-tool with the returned id until success or failure.

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