Skip to main content
Glama

computer

Automates browser mouse and keyboard actions—clicking, dragging, hovering, typing, scrolling, waiting, and taking screenshots—using coordinates or element refs to interact with visible pages.

Instructions

Mouse/keyboard automation in the browser window. Actions: screenshot, zoom, left_click, double_click, triple_click, right_click, middle_click, left_click_drag, hover, scroll_to, type, key, scroll, wait, left_mouse_down, left_mouse_up. Clicks accept coordinate or ref.

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

Input Schema

NameRequiredDescriptionDefault
msNoMilliseconds to wait.
refNoA ref_N from read_page/find.
textNoText to type, or key/combo to press.
tabIdNoTab ID to target. Omit to act on the current tab.
actionYesThe action to perform.
regionNo
directionNo
coordinateNo[x, y] in CSS pixels.
scroll_amountNoScroll amount in pixels.
start_coordinateNoStart [x, y] in CSS pixels for left_click_drag.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/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 discloses only the action inventory. It never says that click/type actions mutate page state, whether screenshots return an image payload, whether waits are needed after navigation-triggering clicks, or what errors look like. Enumerating actions is useful but is capability listing, not behavioral disclosure.

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?

Two sentences, front-loaded with the domain and then the action inventory; no filler or marketing language. The long action list is dense but each token maps to a real enum value, so it earns its space.

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

Completeness2/5

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

A 16-action, 10-parameter mega-tool with a nested region object, no annotations, and no output schema demands more than two sentences. The critical missing piece is an action-to-parameter mapping; without it the agent must guess that region belongs to screenshot or that start_coordinate belongs to left_click_drag.

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 coverage is 80%, so the baseline is 3. The description adds one genuinely useful disambiguation not stated in the schema: clicks accept either `coordinate` or `ref`. It says nothing about which parameters pair with which actions (region with screenshot, ms with wait, direction/scroll_amount with scroll, start_coordinate plus coordinate with drag).

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?

States a specific verb domain (mouse/keyboard automation) and resource (browser window), then enumerates all 16 actions so the agent knows exactly what surface is covered. It is distinguishable from siblings like form_input or read_page, though it never says how it relates to them for overlapping tasks such as typing into a field.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance at all. Nothing tells the agent whether to type via this tool or form_input, when to screenshot versus call get_page_text, or when javascript_tool is preferable to synthetic clicks. The only routing hint ('ref_N from read_page/find') appears in the schema, not the description.

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