Skip to main content
Glama

act

Runs batches of browser UI steps—fill forms, submit, click, and assert—in one call; stops on first failure and returns a snapshot for recovery.

Instructions

Run MANY steps in ONE call (fill a whole form, submit, assert) — this is what makes fastqa fast. Targets resolve by ref, label, placeholder, role+name or text — also inside open shadow DOM and iframes — so you usually do not need a snapshot first. Stops at the first failing step and then returns a full snapshot so you can recover. Otherwise returns only what changed on the page (+ added / - removed lines). expect_* steps are QA assertions that poll until they pass or time out. expect_request checks an API call happened with the right status, expect_no_errors fails on JS errors / 5xx since the batch started, expect_accessible runs a WCAG check.

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

Input Schema

NameRequiredDescriptionDefault
stepsYes
snapshotNoWhat to return after the steps. Default diff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden, and it does: execution stops at the first failing step and returns a full snapshot for recovery, while success returns only the diff (+added / -removed). It also discloses polling semantics for expect_* steps, the meaning of expect_request, expect_no_errors and expect_accessible (WCAG), plus target resolution through shadow DOM and iframes.

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?

Dense but front-loaded: the batching purpose comes first, then return behavior and assertion semantics. Every sentence adds information, though some multi-clause sentences are hard to parse on a first read.

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 24-action batch tool with no output schema, the description covers return shape, failure behavior and assertion semantics well. It does not explain the individual non-assertion steps such as wait, press, select or goto, which the enum names carry most of the meaning for.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: nested step fields (target, value, timeout, frame) are described in the schema, but the top-level 'steps' array and the step sequencing are not. The description compensates by explaining target resolution strategies, the {{name}} secret substitution idea, and the differences between expect_* variants, which go beyond what the schema states.

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 scope: 'Run MANY steps in ONE call (fill a whole form, submit, assert)'. It also distinguishes itself from the sibling snapshot tool by saying 'you usually do not need a snapshot first', so an agent can tell it apart without opening a 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?

Explains the core use case (batching a whole form flow) and implicitly rules out a pre-snapshot step. The snapshot parameter's 'diff' default further guides the common path, but there is no explicit 'when not to use this' or a named alternative for single-step actions.

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