Skip to main content
Glama

pt_web_browser

Opens a URL in a device's browser and returns the page text, with optional rendering and screenshot capture. Use it to verify web access from simulated hosts when a page fails or loads slowly.

Instructions

A host's Desktop > Web Browser: opens a URL (http://IP, http://name with DNS, https://...) and returns the text of the page it received. If the browser still shows its previous page (failed or slow load), the reply is ok=false with a warning, not that old page; re-opening the URL it last loaded returns the page again. timeout: up to 120 s.

In UI mode (or show=True) the window's own browser does the navigation, so the capture shows the rendered page.

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": {
      "device": "<device>",
      "url": "<url>"
    },
    "name": "pt_web_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
showNo
deviceYes
captureNo
timeoutNo
output_dirNoscreenshots

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.6/5.0
Behavior4/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 delivers useful behavior: a failed or slow load returns ok=false with a warning rather than a stale page, re-opening the last URL returns the page again, and the timeout runs up to 120 s. It remains silent on permissions, whether repeated calls are side-effect free, and what capture or output_dir do to the result.

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 short and front-loads the core action before the failure-mode and timeout caveats. Sentences are dense with information, though the parenthetical DNS note and the mid-paragraph mode explanation make the flow slightly uneven.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the failure-path warning is a genuine plus. But for a six-parameter tool with zero schema coverage, an agent is left guessing about device, capture, and output_dir, which is a material gap for calling it correctly.

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 0% across six parameters, so the description must compensate and it only partly does: url, show, and timeout get real meaning ('up to 120 s', UI mode switching). The required device parameter and the capture and output_dir parameters are never explained, leaving three of six undocumented anywhere.

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?

The description states a concrete action and resource: it 'opens a URL (http://IP, http://name with DNS, https://...)' on 'A host's Desktop > Web Browser' and returns the page text. That is specific enough for an agent to know exactly what the tool does, though it never contrasts itself with any other navigation or capture tool.

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?

It gives situational guidance ('In UI mode (or show=True) the window's own browser does the navigation') and explains the failure case, so an agent knows when to prefer UI mode and what a failed load looks like. It does not say when another tool should be used instead, and there are no explicit exclusions.

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