Skip to main content
Glama

act

Destructive

Run one computer action or a whole multi-step plan on a Windows PC, then get a report of what changed or why it failed.

Instructions

Act on the computer that connect connected to: do: the action, args: its arguments (* = needed), help: true for an action's full description and every argument. run carries out a whole plan of steps in one call and checks it with expect; the others are single actions for corrections, and the computer's own work (shell, files, admin). Work that loops over rows or branches on what the screen shows is a program: exec. Each reply says what was done and what changed (the window's controls or a screenshot, per after), or why it failed with the controls that are there, so you rarely need to look again. Actions change the computer for real: run_powershell runs anything, write_file and edit_file change files.

  • disconnect: Disconnect from the current computer.

  • click: Click something: target (a reference like "e12", or the text it shows) or x and y on the latest screenshot. Args: target, x, y, window, role, nth, timeoutSec, effect, button, count, modifiers, mode, after, watch

  • type_text: Type text. Args: text*, target, x, y, window, role, nth, timeoutSec, replace, enter, method, after, watch

  • press_keys: Press a key or combination, or several in a row separated by spaces: enter, esc, ctrl+s, alt+f4, win+r, 'ctrl+a delete', 'tab tab enter'. Args: keys*, window, repeat, holdSec, after, watch

  • set_value: Make a control hold a value, whatever kind of control it is, and check that it does. Args: target, x, y, window, role, nth, timeoutSec, value, fields, after

  • scroll: Turn the mouse wheel over something: target or x,y, or — with neither — where the pointer is in the window in front. Args: target, x, y, window, role, nth, timeoutSec, direction, amount, after, watch

  • drag: Press a mouse button on one thing, move to another and release: from / to (references or text) or fromX, fromY / toX, toY. Args: from, to, fromX, fromY, toX, toY, window, button, seconds, after, watch

  • mouse: Low-level mouse steps, for what click and drag can't express. Args: action*, target, x, y, window, role, nth, timeoutSec, button, dx, dy, seconds, after

  • run: Carry out a plan: steps named by what they act on, written without looking first. Args: steps*, goal, when, whenSec, on, window, repeat, grids, fast, wait

  • skills: Programs that worked, kept on this computer to run again (exec with learn keeps one; exec with skill runs one). Args: query, window, show, forget, export, import, max

  • open_app: Open a program, file, folder or URL as if double-clicked: notepad, control, taskmgr, ms-settings:display, C:\Users\xx\Desktop\report. Args: target*, browser, args, electron, cwd, timeoutSec, after

  • focus_window: Switch to a window, or minimize / maximize / restore / close / move it. Args: window*, action, x, y, width, height, after

  • clipboard: The clipboard. Args: text

  • run_powershell: Run a PowerShell script on the computer and return its output. Args: script, timeoutSec, background, reset

  • job: A background job (run_powershell background): its status and the output since the last look (all: everything), or stop: true to stop it with the processes it started. Args: jobId, all, stop

  • request_admin: Request administrator rights.

  • restart_computer: Restart the computer. Args: delaySec, prepareOnly, cancel

  • write_file: Write a text file on the computer (overwrites it entirely, creates it and any folders if missing). Args: path*, content*, encoding

  • edit_file: Replace an exact piece of a text file, keeping its encoding and line endings. Args: path*, oldText*, newText*, replaceAll

  • upload_file: Copy a file from the machine this server runs on to the connected computer (max 20 MB). Args: localPath*, remotePath*

  • download_file: Copy a file from the connected computer to the machine this server runs on (max 20 MB). Args: remotePath*, localPath*

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

Input Schema

NameRequiredDescriptionDefault
doYesThe action
argsNoIts arguments
helpNoOnly say what this action does and takes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive, open-world, non-idempotent, non-read-only behavior. The description adds useful context beyond them: actions affect the computer for real, specific dangerous actions (run_powershell, write_file, edit_file) are called out, reply format is explained, and upload/download size limits are stated. No contradictions.

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

Conciseness3/5

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

The per-action list is necessary for a 21-action mega-tool, but the opening paragraph is a dense run-on that packs several distinct ideas together. The structure is informative but not front-loaded cleanly.

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?

Given the tool's complexity (21 actions, no output schema), the description covers the action list, required-argument convention, response behavior, and size limits. It is fairly complete, though not every action's behavior is elaborated equally.

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%, so the baseline is 3. The description adds meaning by explaining that * marks needed arguments, that help returns an action's full description and every argument, and by listing per-action arguments that are not enumerated in the schema.

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?

The description names the resource (the connected computer) and the dispatch mechanism (do/args/help), and explicitly contrasts run (plans) with single actions and exec (programs). An agent can tell what this tool does and how it differs from siblings without opening the 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?

It gives clear routing guidance: run for whole plans, single actions for corrections and computer work, exec for loops or branching programs. It also explains help. The guidance is present but somewhat buried in a dense opening paragraph.

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