Skip to main content
Glama

Run Macro Tool

run-macro-tool

Run a step list on a farm phone. The slot must be cast/live. Give exactly one of:

  • workflow (string): a named workflow / system macro, resolved through the registry, with optional params (scalar values) for its {{placeholders}}.

  • steps (array): a raw step list run as-is (each step needs an "action"). A full workflow can run for minutes, so this queues the run and returns immediately — poll the phone (snapshot/ocr) or the affected account to observe the outcome, as with the other phone actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slotYesPhone slot to run on, given as the `slot` UUID from list-phones (its display name like "slot12" is not accepted). Must be cast/live.
stepsNoRaw step list to run as-is; each step needs an "action". Give this OR workflow, not both.
paramsNoScalar params for the workflow's {{placeholders}} (for workflow). Optional.
workflowNoNamed workflow / system macro to resolve and run. Give this OR steps, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It meaningfully discloses that runs are queued, return immediately, and may take minutes, plus instructs the agent to poll the phone or account for the outcome. It does not cover failure modes or response shape.

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?

The description is well-structured, front-loads the key constraint, and uses a compact bullet list for the mutually exclusive options. It earns its length, though it somewhat duplicates schema text.

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 4-parameter async tool with no output schema or annotations, the description covers the essential invocation constraints, the two modes, and what to do after calling. It does not state what the immediate return value is, which is a minor gap.

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 the schema already documents all parameters. The description adds some context (registry resolution, scalar params, steps needing an 'action'), but this is largely redundant with the schema.

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?

The description clearly states the tool runs a step list on a farm phone and distinguishes the two input modes (workflow vs steps). It does not explicitly differentiate from sibling tools like run-phone-agent-tool, so it misses the top of the scale.

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?

It gives clear preconditions ('slot must be cast/live') and an explicit exclusivity rule ('Give exactly one of workflow or steps'). However, it does not say when to choose this tool over alternatives or when not to use it.

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