Skip to main content
Glama

act

Performs one browser action from a short instruction by matching words to on-page element names, so no selector is needed. Check the executed and error fields.

Instructions

Do one action from a short instruction, without naming a selector. It matches the words against element names, with no reasoning, so use the page's own wording: click Add to cart, fill Email with a@b.co, select Victoria in State, tick Accept terms. One action per call. Check executed and error.

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

Input Schema

NameRequiredDescriptionDefault
llmNoUse Claude.
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
intentYesOne action in the page's own words.
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.21.0
    • changedInput schema / properties / intent / description
      Previous value: -"Natural-language intent."New value: +"One action in the page's own words."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses key behavior: it matches words exactly based on element names, has 'no reasoning', performs one action per call, and returns `executed` and `error`. However, it omits safety details such as permission requirements, reversibility, or how ambiguous matches are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core distinction ('without naming a selector'), uses a short example set, and closes with a practical verification step. Every sentence earns its place with no redundancy.

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 natural-language action tool with no output schema and full parameter coverage, the description covers purpose, matching behavior, call granularity, and response verification. It could mention error recovery or ambiguity handling, but is largely 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 100%, so the schema already documents all parameters. The description reinforces the intent parameter with examples and the one-action-per-call constraint, but adds no meaning beyond the schema for the remaining parameters (llm, lease, session). Baseline 3 is appropriate.

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 clear verb+resource: 'Do one action from a short instruction, without naming a selector.' It also clarifies the matching mechanism ('matches the words against element names, with no reasoning'). This distinguishes it from selector-based siblings like click or fill, though it does not name them explicitly.

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?

Usage is implied by the constraint 'without naming a selector' and the examples, but there is no explicit when-to-use guidance or named alternative tools. An agent must infer that this is for natural-language actions when the selector is unknown.

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