Skip to main content
Glama
kro-bridge-mcp
by guyi-a

Browser Bridge

browser_bridge

Automate the user's real Edge browser through the Kro Browser Bridge extension by managing tabs, reading page state, clicking, typing, scrolling, and running scripts.

Instructions

Drive the user's real Edge browser through the Kro Browser Bridge extension. Always start with action='extension_status'; if ready=false, stop and tell the user the extension is not connected. Typical flow: extension_status -> list_sessions (pick browser_id) -> list_pages / open_tab -> read_state (get element indices) -> click/hover/dblclick/rightclick/type/press by index -> read_state again after every DOM-changing action. Element indices only stay valid until the DOM changes. Do not close the user's tabs unless explicitly asked. Hand login, CAPTCHA, SMS/email verification, payment, and consent screens back to the user. execute_script must be a single line, an IIFE with an explicit return, single quotes only, and a KB-scale return value. This protocol has no screenshot action.

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": {
      "action": "<action>"
    },
    "name": "browser_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoscroll: horizontal pixels (positive = right).
yNoscroll: vertical pixels (positive = down).
keyNoKey for press, e.g. 'Enter', 'Tab', 'Escape'.
urlNoAbsolute URL for open_tab.
textNoText to fill for type.
indexNoElement index from the latest read_state.
actionYesAction to perform. Start with extension_status.
activeNoopen_tab: foreground the new tab. Defaults true.
scriptNoexecute_script: single-line IIFE source.
page_idNoPage id from list_pages or open_tab.
browser_idNoStable browser id from list_sessions.
timeout_msNowait_for: max wait in milliseconds. Defaults 10000.
include_htmlNoextract: include the element outerHTML.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With zero annotations, the description carries the full burden and does so: it discloses that element indices are only valid until the DOM changes, that state must be re-read after any DOM-changing action, that there is no screenshot action, and that execute_script must be a single-line IIFE with an explicit return, single quotes, and a KB-scale return value. These are exactly the runtime constraints an agent would otherwise get wrong.

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?

Front-loaded with the mandatory first action and the stop condition, then the happy-path flow, then constraints. It is dense and protocol-shaped; every sentence carries an operational rule, and 'This protocol has no screenshot action' usefully preempts a likely hallucinated action.

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 20-action, 13-parameter browser driver with no output schema, the description covers the workflow and constraints well. The remaining gap is return shape: it never says what read_state, extract, or describe_element actually yield beyond 'element indices', so an agent must infer the payload it operates on.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it ties `index` to the latest read_state, specifies action ordering for extension_status, and documents the execute_script source format that the schema only names. It does not cover every parameter (e.g. focus_page, wait_for, go_back semantics remain schema-only), so it stops short of a 5.

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: 'Drive the user's real Edge browser through the Kro Browser Bridge extension.' It is unambiguous what system is being controlled and that it operates on a live, user-owned browser rather than a headless one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit ordered protocol (extension_status -> list_sessions -> list_pages/open_tab -> read_state -> act -> read_state) plus hard stop conditions ('if ready=false, stop and tell the user') and prohibitions ('Do not close the user's tabs unless explicitly asked'). It also names the human-handoff categories (login, CAPTCHA, verification, payment, consent) that must not be automated.

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