Skip to main content
Glama

web_view

Read-only

Inspect a webpage as a compact list of buttons, links, and fields with refs for browser actions, or capture a PNG screenshot for visual layout, charts, and images.

Instructions

Look at a page. Default: every button, link and field with role, name and a ref (e12) to act on with browser: no image, few tokens, the way to understand a page before clicking. image: a PNG screenshot (path, and inline) when the question is visual: layout, a chart, a picture.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
findNoOnly nodes whose name or role contains this, e.g. "add to cart", "button"
tierNobrowser | stealth | real (default) | warm
imageNoScreenshot instead of the node list
limitNoMax nodes, default 200
proxyNoimage: proxy URL, this call only
inlineNoimage: false returns only the path
mobileNoimage: phone viewport and user agent
profileNoCookies of a saved login profile
timeoutNoms, default 60000
full_pageNoimage: the whole scroll height
max_depthNo3 or 4 usually reaches the controls

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavior: the default returns refs intended for later `browser` actions, it avoids images to save tokens, and image mode yields both a path and an inline payload. It omits any note on rate limits, auth/profile requirements, or JS rendering, so it is not exhaustive.

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 core action, then default mode and image mode in sequence. The telegraphic style ('no image, few tokens') is dense but every clause carries information. Minor cost: the colon-heavy compression makes it slightly harder to parse on first read.

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?

With 12 parameters and no output schema, the description carries the return-value burden and does so: node list with role/name/ref by default, PNG path plus inline for image mode. It leaves the tier/proxy/profile semantics entirely to the schema, which is acceptable given 92% coverage. Nothing critical for a correct first call is missing.

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 92%, so the schema already documents all 12 parameters including the image sub-options. The description reinforces the `image` toggle and the refs-to-act-on contract but adds no syntax, format, or interaction detail (e.g. how `inline`, `proxy`, `full_page` combine) beyond the schema. Baseline 3 is appropriate.

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 names a concrete verb and output: return every button, link and field with role, name and an `ref` (e12) usable with browser, or a PNG screenshot in `image` mode. That is far more specific than the name `web_view` alone. It does not explicitly distinguish itself from look-alike siblings such as web_capture, so it stops short of a 5.

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 mode-selection guidance: default is 'the way to understand a page before clicking', and `image` is for 'when the question is visual: layout, a chart, a picture'. There is no explicit when-not guidance and no sibling is named as the alternative for the screenshot path, which keeps it below 5.

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