Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

computer

Control a browser tab with mouse, keyboard, and screenshots, receiving clear feedback on navigation, dialogs, downloads, or no-ops while blocked elements are refused.

Instructions

Mouse, keyboard and screenshots in a tab. Every click / key reply says what the page did: navigated, page changed, opened tab N, dialog (and how it was answered), download, or nothing happened. Disabled, hidden or covered elements are refused, not clicked. Actions:

  • left_click, right_click, double_click, triple_click: ref (from read_page / find) or coordinate [x, y] from the last screenshot; optional modifiers ("ctrl+shift").

  • type: text goes into the focused element (or into ref, which is clicked first). Pasted by default; per_key: true types key by key with human delays, for OTP boxes, autocomplete and sites that watch keydown.

  • key: text is a key or chord ("Enter", "ctrl+a", "cmd+k"), several separated by spaces; repeat.

  • scroll: scroll_direction (up/down/left/right), scroll_amount in wheel notches (default 3), at coordinate / ref (default: the centre).

  • scroll_to: bring ref into view.

  • left_click_drag: from start_coordinate or start_ref to coordinate or ref.

  • hover: ref or coordinate.

  • screenshot: the tab's viewport as an image, sized for you (scale 0.1-1 shrinks it further). Coordinates you pass afterwards are in this image's pixels.

  • zoom: region [x0, y0, x1, y1] of the last screenshot at full detail, for reading small text.

  • wait: duration seconds (at most 30).

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
refNoElement ref from read_page / find (e12, f1e12).
textNoText for type; key or chord for key.
scaleNoscreenshot: shrink further (1 = the automatic size).
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.
actionYes
regionNozoom: [x0, y0, x1, y1] in pixels of the last screenshot.
repeatNokey: how many times.
per_keyNotype: key by key instead of paste.
durationNowait: seconds.
modifiersNoKeys held during a click: "ctrl", "shift", "alt", "cmd", joined with +.
start_refNoleft_click_drag: the element the drag starts on.
coordinateNo[x, y] in pixels of the last screenshot.
reveal_valuesNoShow secrets (cookie values, tokens, passwords) instead of masking them. They end up in the transcript; use only when the value itself is needed.
scroll_amountNoWheel notches (about 100 px each).
scroll_directionNo
start_coordinateNoleft_click_drag: where the drag starts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that every click/key returns a page-effect report (navigated, page changed, opened tab N, dialog and how it was answered, download, or no effect), that disabled/hidden/covered elements are refused rather than clicked, and that typing pastes by default. These are exactly the mutation/feedback semantics an agent needs. What it omits is failure modes beyond refusals (timeouts, stale refs) and any permission or rate constraints, which keeps it from a 5.

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?

The definition is long, but the length is earned by 13 distinct actions and it is well structured: a two-sentence behavioural lead-in followed by one bullet per action with its parameters in backticks. Front-loading the reply/refusal semantics before the action catalogue is the right order. A few bullets could be tightened (e.g., the scroll default is stated twice), preventing a 5.

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 16-parameter, multi-action tool with no annotations and no output schema, coverage is essentially complete: every action is documented with its inputs, defaults and coordinate frame, and the return behaviour is described in prose. An agent could invoke any action correctly from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 88%, so the baseline is 3, but the description adds real meaning on top: `scroll_amount` defaults to 3 notches, scroll targets default to the viewport centre, `type` writes into the focused element and clicks `ref` first, `coordinate` and `zoom.region` are in the pixels of the last screenshot, and `scale` shrinks from the automatic size. It also explains why one would use `modifiers` and `repeat`. That is substantial semantics beyond the schema text.

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?

Opens with a concrete verb-and-resource framing ("Mouse, keyboard and screenshots in a tab") and then enumerates all 13 actions with their parameters, so an agent knows exactly what the tool covers. It also implicitly separates itself from read_page/find by naming them as the source of `ref` values and from tabs_context as the source of `tabId`. It stops short of explicitly framing itself against other sibling automation tools, but the capability surface is unambiguous.

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 guidance is strong at the action level (per_key for OTP boxes/autocomplete/keydown-watching sites; scroll_to to bring a ref into view; zoom for reading small text), which tells an agent which action variant to pick. However, there is no tool-level guidance on when to choose `computer` over siblings like form_input, javascript_tool, or navigate, and no exclusions. The `tabId` note about always passing it when several agents share a session is the only operational rule.

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