Skip to main content
Glama

browser_hover

Move the mouse over an element by CSS or text selector to trigger tooltips, dropdown menus, and hover states, while detecting covered targets before interaction.

Instructions

Hover over an element to trigger tooltips, dropdown menus, or hover states. Supports CSS and text selectors. If the mouse would not reach the target at its center - another element lies in front of it (an overlay, a dialog's backdrop), or the target does not take clicks there (pointer-events, visibility, clipping) - the answer is ok:false with error "covered" and covered_by. Found before the mouse is sent, nothing is sent; if it comes in front afterwards, the rest of the mouse movement is stopped and the answer also has maybe_landed: true, because the page may already have reacted.

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

Input Schema

NameRequiredDescriptionDefault
durationNoHow long to hold hover in ms (default: 500)
selectorYesCSS or text selector to hover over
partitionNoRun this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / partition
      Added value: +{
      +  "description": "Run this call in a partition from browser_partition (an id like \"p1\"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it explains the pre-flight occlusion check, the exact failure shape (ok:false, error "covered", covered_by), the fact that nothing is sent when the check fails, and the mid-flight case with maybe_landed:true. It leaves gaps on whether hover state persists after the call and whether anything else is returned on success.

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?

Purpose is front-loaded in the first sentence and the second adds selector support. The final sentence is a dense run-on covering two distinct failure modes, which costs some readability but still contains only actionable information.

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 three-parameter interaction tool with no output schema and no annotations, the description covers the main source of agent confusion, occlusion and partial landing, and gives the exact error vocabulary. Remaining gaps (selector syntax examples, post-hover state persistence) are minor for this level of complexity.

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 selector, duration, and partition are already documented in the schema, and the description only reinforces that selectors may be CSS or text. Duration semantics (default 500ms) and partition error behavior live solely in the schema, so the description adds no meaning beyond it.

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?

States a concrete verb and resource ("Hover over an element") and names the outcomes it is used to produce (tooltips, dropdown menus, hover states). The verb itself naturally separates it from browser_click and browser_click_xy, though no sibling is named explicitly.

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?

Gives clear situational context for when to reach for this tool: triggering tooltips, dropdown menus, or hover states, and notes both CSS and text selectors are accepted. It does not state when-not-to-use it (e.g., when a click or select_option is the right follow-up), so it stops short of full routing guidance.

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