Skip to main content
Glama

OpenFactory

desktop_open_url

Open a URL in Brave on the VM (falls back to Chromium or Firefox if Brave isn't installed on the VM).

REQUIRES the QEMU guest agent: the browser is launched inside the guest. Without the agent, run the same steps as desktop_interact actions — key "ctrl+l", type the URL, key "Return".

Do NOT use this to "prove" a kiosk, an autostarted browser, or a homepage: it opens a SECOND browser window, so what appears here says nothing about what the image starts on its own. Screenshot the untouched session instead.

Sends Ctrl+L (focus address bar) → types URL → Enter → waits for page load → takes the screenshot and parses elements. This is a convenience tool; the same sequence can be expressed as key/type actions in desktop_interact.

To prevent runaway tab accumulation in long-running agent sessions, the tool keeps at most max_tabs browser tabs open and closes the oldest one (FIFO) when a new URL would push past the cap. The cap is enforced via Chromium DevTools on loopback inside the VM, so it applies to Brave / Chromium / Edge but not Firefox. Set max_tabs=0 to opt out for one-off sessions.

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": {
      "vm_name": "<vm_name>",
      "url": "<url>"
    },
    "name": "desktop_open_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to open in Brave (e.g., 'https://example.com')
zoomNoBrowser zoom (1.0 = 100%, 0.8 = 80%). Leave unset for smart per-app defaults — dense dashboards like the cto-gui topology graph open at 80% so more fits on screen. Pass an explicit value to override, e.g. 0.8 to zoom out or 1.0 to force 100%.
mobileNoOpen in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. The choice sticks to this VM, so later desktop_screenshot and desktop_interact calls stay in mobile view too. Pass false to go back to desktop.
api_keyNoMCP API key
vm_nameYesVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
max_tabsNoCap on simultaneous browser tabs. When opening would exceed this, the oldest tab opened by us is closed first (FIFO). Set to 0 to disable. Default: 10.
include_perfNoInclude per-stage timing metrics in the response.
wait_secondsNoSeconds to wait for page to load before taking screenshot (default: 5)
response_modeNoResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only).full
session_tokenNoSession token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the QEMU guest agent prerequisite, the Ctrl+L → type → Enter → wait-for-load sequence, the screenshot/element parsing side effect, and tab accumulation behavior (FIFO close at max_tabs, DevTools-on-loopback enforcement that excludes Firefox). It even flags a trap — the opened window says nothing about what the image autostarts.

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?

Warnings and prerequisites are front-loaded, and paragraphs are well organized. Minor waste: the desktop_interact fallback is stated twice — once for the missing-agent case and again as 'this is a convenience tool; the same sequence can be expressed as key/type actions.'

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 10-param, side-effecting tool with no annotations and no output schema, the description covers prerequisites, execution sequence, side effects, and tab-cap behavior. It stops short of describing what the response actually contains, though response_mode in the schema partially covers that.

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 baseline is 3. The description reinforces max_tabs semantics (FIFO closing of tabs opened by the tool, 0 to opt out) and mentions waiting/screenshotting that maps loosely to wait_seconds and response_mode, but adds little syntax or format detail beyond 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?

States a specific verb and resource (opens a URL in Brave on the VM) plus fallback browsers, and explicitly distinguishes itself from desktop_interact key/type sequences. The agent can identify the tool and its scope 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 Guidelines5/5

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

Gives explicit when-to-use (open a URL in the guest), when-not-to-use (do NOT use it to prove a kiosk, autostarted browser, or homepage, since it opens a SECOND window), and a named alternative (desktop_interact key/type actions when the guest agent is absent). This is routing guidance with a real exclusion, not just context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.