Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_hover

Destructive

Triggers a mouse hover over a specified page element to reveal hover-dependent menus, tooltips, or styles and verify hover interactions.

Instructions

Hover over element on page

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": {
      "session": "<session>",
      "target": "<target>"
    },
    "name": "browser_hover"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoOptional Chrome tab group color override for a newly created session.
targetYesExact target element reference from the page snapshot, or a unique element selector
accountNoChrome account profile to use (defaults to 'default'). Configured accounts: 'default' (Isolated Browser).default
elementNoHuman-readable element description used to obtain permission to interact with the element
sessionYesRequired isolated session name (also displayed as the Chrome tab group title), e.g. "T1867-api-debug" or "home-css". Use a unique, descriptive task name per conversation so concurrent agents never hijack each other's active tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, which is a counterintuitive profile for a hover, yet the description explains none of it: no note on permission prompts for interacting with elements, no mention that hover may mutate open menus/tooltips or trigger hover-only handlers, and no mention of the isolated session requirement. The description adds essentially no behavior beyond the annotations, and leaves the surprising destructive flag unexplained.

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

Conciseness3/5

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

The single sentence is front-loaded and contains no filler, but it is terse to the point of under-specification rather than efficiently concise. There is room to add the snapshot-then-hover workflow without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 5-parameter, permission-gated browser interaction with a required isolated session name and a target reference that only exists after a snapshot. The description omits that prerequisite chain and the reason for the destructive/open-world annotation profile, leaving the definition incomplete for correct invocation despite the rich schema.

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 description coverage is 100%, so target, element, session, account, and color are all documented in the schema itself (including the element permission rationale and session isolation guidance). The description contributes nothing further, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Hover over element on page"), so the basic action is identifiable. However, it offers no differentiation from near-siblings such as browser_click, browser_highlight, or browser_drag, and does not say what hovering accomplishes in practice (revealing tooltips, menus, hover states). It is adequate but vague.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing about needing a prior browser_snapshot to obtain the element reference, nothing about preferring browser_highlight for purely visual inspection, and nothing about which siblings to use if the goal is activation rather than hovering. The agent must infer all routing decisions.

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