Skip to main content
Glama

oc_browser_control

Manage a Chrome tab by observing status, verifying page or account conditions, and pausing automation for human input. Resume only with a valid lease and expected URL, ensuring controlled handoff.

Instructions

Observe a managed tab, check caller-supplied page/account conditions, or pause automatic input for explicit human control. Wait for phase=human before typing; this drains tracked tool handlers, not page timers or background requests. Resume requires the returned lease and expected URL. No automatic visible-browser restart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leaseNoLease returned by pause; required for explicit resume.
tabIdYesREQUIRED Managed target ID.
actionYesREQUIRED Control action.
revealNoExplicitly bring a visible browser tab forward after input has drained. Headless requires an operator-controlled restart instead.
selectorNoOptional CSS selector that must resolve to a visible element in the current page.
expectedUrlNoExact URL required for verify/resume. Query and fragment are compared but not echoed.
expectedTextNoOptional exact trimmed text of the selected account/status element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.13.0

TDQS

A3.5/5.0
Behavior3/5

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

The description discloses important behaviors such as no automatic visible-browser restart, the need for an operator-controlled restart in headless mode, and that pause/resume are tied to tracked handlers. It does not fully describe side effects of verify or status beyond checking conditions, but annotations provide no additional hints.

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 description is compact but dense, packing several important operational nuances into a few sentences. It avoids redundancy and front-loads the core purpose.

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?

The description gives enough operational context to use the tool, but it does not describe the output format or what exactly status/verify return, especially the lease object required for resume. Given no output schema, this would have been helpful.

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?

The schema already covers all parameters, and the description enriches key ones: it explains that expectedUrl is compared including query and fragment but not echoed, and that resume requires the lease returned by pause. This adds meaningful semantic detail beyond the schema.

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 clearly states the tool's purpose: observe a managed tab, check caller-supplied conditions, or pause automatic input for human control. It covers the main actions (status/verify/pause/resume) and distinguishes it from pure observation or interaction tools.

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?

The description gives practical guidance about waiting for phase=human, draining tracked tool handlers, and the requirement to resume with the returned lease and expected URL. However, it does not explicitly state when to prefer this tool over sibling tools like oc_observe or interact.

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