Skip to main content
Glama

page.reset_target

Recover an unresponsive browser tab without closing Chromium by failing in-flight commands, stopping scripts and loading, and parking it on about:blank; auto mode can replace it with a fresh tab.

Instructions

Unstick one tab without closing Chromium. Use when a tab stops answering (evaluate or navigate hangs until timeout). Fails the tab's in-flight commands, terminates its running script, stops loading and parks it on about:blank (or url). mode "auto" (default) escalates to replacing the tab with a fresh one if the renderer still does not answer; the result then carries a NEW target_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": "page.reset_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWhere to park the tab afterwards. Default about:blank.
modeNo
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With only readOnlyHint=false and openWorldHint=true supplied, the description carries the burden well: it discloses destruction (in-flight commands fail, running script terminated, load stopped), the end state (parked on about:blank or url), and the escalation path where mode auto replaces the tab and returns a NEW target_id. That last point is a non-obvious behavioral consequence an agent could not infer from annotations.

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 sentences, front-loaded with the symptom that selects the tool, then effects, then the escalation caveat. Every clause carries information needed to call it safely; nothing is redundant with the schema.

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 mutating, open-world tool with no output schema, the description covers when to use it, what gets destroyed, the resulting page state, and the case where the target handle changes. It stops short of stating failure behavior in soft/recreate modes (does the call error or return a status?) or any permissions/rate considerations.

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% and the enum on mode has no schema description, so the description adds real value by stating auto is the default and what it escalates to, plus warning that target_id changes after the call. It does not define the soft vs recreate modes explicitly, leaving the agent to infer their behavior from the names.

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?

"Unstick one tab without closing Chromium" states a specific action on a specific resource and immediately contrasts with the sibling behaviors page.close_tab and page.new_tab. The scope (one tab, browser left alive) is unambiguous 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 Guidelines4/5

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

The trigger condition is explicit and observable: "Use when a tab stops answering (evaluate or navigate hangs until timeout)." It implicitly rules out closing the browser, but never names page.close_tab or page.new_tab as the alternatives, and gives no when-not guidance (e.g. when resetting will lose state you wanted).

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