Skip to main content
Glama

hands_act

Destructive

Executes one governed action on the most recently perceived page, classifying and recording it before execution and denying consequential actions without approval.

Instructions

Perform ONE governed action (e.g. {"kind":"click","target":3}) on the most recently perceived page. Every action is classified before it runs (readonly / write / consequential) and recorded in the provenance trail before it executes. Consequential actions are denied without an approver (or decided by the phone when GHOST_HANDS_APPROVER=phone); the response states which channel decided. Call hands_perceive first: action targets are the element numbers from its map. For several actions in a row, use hands_run instead.

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": {
      "action": "<action>"
    },
    "name": "hands_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesThe action to perform, as an object with at least a 'kind' (for example click, type, navigate, scroll) plus its operands, such as 'target' (an element number from the last perceived map) or 'text' for typing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.3
    • addedInput schema / properties / action / description
      Added value: +"The action to perform, as an object with at least a 'kind' (for example click, type, navigate, scroll) plus its operands, such as 'target' (an element number from the last perceived map) or 'text' for typing."
  2. First observedv0.9.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare destructive=true and openWorld=true, but the description adds context the annotations cannot: each action is classified (readonly/write/consequential) and written to a provenance trail before execution, consequential actions require an approver or the GHOST_HANDS_APPROVER=phone channel, and the response reports which channel decided. This is exactly the kind of pre-execution gating and side-effect detail an agent needs before invoking a destructive tool.

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?

Four tightly packed sentences with no filler: the core behavior first, then the safety/approval semantics, then the prerequisite, then the alternative. Every sentence changes how an agent would call or avoid the tool.

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 single-parameter tool with no output schema, the description covers the interaction contract (perceive-then-act), the execution pipeline, the approval path, and what the response contains. There is no material gap an agent would need filled before invoking it.

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 100% and the nested 'action' object already documents 'kind' and 'target', so the baseline is 3. The description pays its way by showing a concrete literal ({"kind":"click","target":3}) and reinforcing the coupling contract that targets are element numbers from the hands_perceive map, plus naming 'text' as an operand for typing.

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 ('Perform ONE governed action on the most recently perceived page') and makes the singularity explicit, which is exactly what distinguishes it from the hands_run sibling named later in the description.

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 prerequisites ('Call hands_perceive first: action targets are the element numbers from its map') and an explicit alternative with the condition that selects it ('For several actions in a row, use hands_run instead'). Nothing is left to inference.

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