Skip to main content
Glama

act

Perform browser interactions such as click, type, fill, scroll, drag, upload, or wait on page elements by ref or pixel coordinates, letting agents control real pages from a script.

Instructions

Interact by ref (from read) or x,y (last shot pixels). a: click dblclick rclick hover | type (text; ref focuses first) | key (text e.g. "ctrl+a Backspace Enter") | fill (fields {ref: value|bool}) | scroll (ref, or dx/dy px) | drag (to: ref or "x,y") | upload (files: local paths) | wait (ms, or text to appear).

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": {
      "a": "<a>"
    },
    "name": "act"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
xNo
yNo
dxNo
dyNo
msNo
toNo
refNo
tabNo
readNoalso return read output
textNo
filesNo
fieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full behavioral burden, and it falls well short. It never says what the tool returns, whether actions auto-wait for page load/navigation, what happens on a stale ref or a miss-click, or that these are state-mutating operations with real side effects. Only 'wait (ms, or text to appear)' hints at any runtime behavior.

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?

Every clause earns its place and the ref-vs-coordinate distinction is front-loaded. The pipe-delimited telegraphic style is dense and uses abbreviations ('rclick', 'dblclick', 'px'), which is efficient but slightly cryptic on first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter dispatcher with no annotations and no output schema, the definition covers the action modes and most parameter mappings but omits return behavior, the 'tab' parameter, and failure modes. It is minimum-viable rather than complete.

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?

With schema coverage at just 8% over 13 parameters, the description has to compensate, and it largely does: it maps parameters to actions ('fill (fields {ref: value|bool})', 'drag (to: ref or "x,y")', 'scroll (ref, or dx/dy px)') and gives a concrete syntax example for 'key' ('ctrl+a Backspace Enter'). Gaps remain — 'tab' is never mentioned and 'read' only appears in the schema — but the added meaning is substantial.

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 states a specific capability — 'Interact by ref (from read) or x,y (last shot pixels)' — and enumerates all eleven action modes (click, type, key, fill, scroll, drag, upload, wait), so an agent immediately knows this is a browser-interaction dispatcher. It implicitly differentiates from siblings by naming 'read' as the ref source and 'shot' as the coordinate source, though the bare name 'act' still carries no standalone meaning.

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?

Useful routing hints are embedded parenthetically: refs come from 'read', pixels from the 'last shot'. That tells an agent the prerequisite siblings, but there is no explicit ordering instruction (e.g. 'call read first to obtain a ref'), no statement of when not to use this tool, and no guidance on choosing between ref-based and coordinate-based targeting.

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