Skip to main content
Glama

browser_hover

Move the real mouse pointer onto an element referenced from a page snapshot to trigger CSS hover states, dropdown menus, and tooltips; returns where the pointer landed.

Instructions

Move the real pointer onto a ref from browser_snapshot — CSS :hover, dropdown menus and tooltips behave because it is a real mouse move, not a synthetic event. Returns where the pointer landed.

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

Input Schema

NameRequiredDescriptionDefault
refYesRef from the latest browser_snapshot (e12), or a CSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.5.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does well: it discloses that this is a genuine OS-level pointer move rather than a synthetic event, which explains why hover-dependent UI actually reacts. It also states the return value ('where the pointer landed'). It omits side effects (hover may open menus/tooltips that alter the DOM) and failure behavior for a stale or invalid ref.

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?

Two sentences, front-loaded with the action and mechanism, then the payoff and return value. No filler or redundant restatement of the tool name.

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 one-parameter tool with no output schema, the definition covers the mechanism, the trigger cases, and the return value — enough to call it correctly. Minor gaps remain around what happens if the ref is stale and whether the element is auto-scrolled into view before hovering.

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 coverage is 100% and the single ref parameter is already documented down to the example format (e12) and the CSS-selector alternative. The description only restates that the ref comes from browser_snapshot, adding no format or resolution details beyond the schema, so the baseline 3 applies.

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: 'Move the real pointer onto a ref from browser_snapshot'. The mechanism ('real mouse move, not a synthetic event') distinguishes it from browser_click and browser_act without the agent needing to open those schemas.

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 description gives a clear usage context — CSS :hover, dropdown menus, tooltips — and names browser_snapshot as the source of the ref. It doesn't explicitly state when to prefer browser_click over hover (e.g. 'use hover to reveal, click to activate'), so the alternative routing is only implied.

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