Skip to main content
Glama

browser.reveal

Reveal a headless browser session as a visible window: relaunches the same profile, carries over open tabs, and keeps cookies and logins (live page state is lost).

Instructions

Put a headless session on screen for the human, in one call. Chromium fixes headless at process start, so this closes the browser and relaunches the same profile with a window, carrying the open tabs over. Cookies, localStorage and logins survive because they live in the profile; live page state (unsaved input, in-memory JS, agent DOM edits) does not, and the result says so. Returns a NEW browser_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser.reveal"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOpen this instead of the tabs that were open.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
window_sizeNo
control_modeNoSet on the new window, e.g. "observe" to hand it to the human and stop touching it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description goes far beyond them by disclosing that the browser is closed and relaunched, that profile-backed state (cookies, localStorage, logins) survives while live page state (unsaved input, in-memory JS, agent DOM edits) does not, and that the result reports this. It also announces that a NEW browser_id is returned. It stops short of saying whether the old browser_id becomes invalid or what error surfaces if relaunch fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the reason, then the state-survival contract. The clause 'live page state ... does not, and the result says so' is doing genuine work rather than padding, and nothing is repeated from annotations or schema.

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 state-destroying mutation with no output schema, this covers the essential agent-facing questions: why the relaunch happens, what survives, what is lost, and that a new handle is returned. The only omission, old-handle invalidation and failure modes, is minor relative to what is provided.

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

Parameters4/5

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

Schema coverage is 75%, so the baseline is 3, but the description adds real meaning: omitting url carries the open tabs over, while supplying url replaces them, and control_mode 'observe' means handing the window to the human and ceasing interaction. Only window_size is left entirely to the schema, which documents its nested width/height without descriptions.

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 — move a headless session on screen for the human — and immediately frames the distinguishing mechanism (headless/headed is fixed at process start, so it relaunches rather than toggles). An agent can distinguish this from browser.launch or browser.set_control_mode without opening any schema.

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 is implied by 'for the human' and reinforced by the control_mode note about handing the window over with 'observe', so the intent is clear. However, no alternative is named and there is no explicit when-not-to-use guidance (e.g., use browser.launch for a fresh headed session, or browser.close when the session should end).

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