Skip to main content
Glama

browser_hover

Move the mouse pointer over a page element using its snapshot ref to trigger hover states, reveal menus, or test interactive UI behavior.

Instructions

Hover the mouse pointer over an element identified by its snapshot ref.

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
refYesExact target element ref from the page snapshot.
elementNoHuman-readable description of the element.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the hover mechanism but does not state whether hovering can trigger dynamic UI changes, whether it waits for stability, what the return behavior is, or whether it requires an active session.

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?

The description is a single front-loaded sentence with no unnecessary wording. It communicates the core action efficiently and avoids repetition.

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?

For a simple hover interaction, the description covers the essential action and the source of the required ref. However, with no annotations and no output schema, it should do more to explain side effects, session behavior, and the distinction from adjacent browser interactions.

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%, so all three parameters are already documented in the input schema. The description reinforces the ref parameter's origin from a snapshot, but adds little meaning beyond the schema's own descriptions.

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 states a specific verb and target: hovering the mouse pointer over an element identified by its snapshot ref. This clearly distinguishes the action from sibling tools like browser_click, but it does not explicitly contrast when to use hover versus those alternatives.

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?

Usage is implied through the requirement of a snapshot ref, suggesting it should be used on elements observed in a prior page snapshot. However, there is no explicit guidance on when hovering is appropriate versus clicking, or on prerequisites such as ensuring the element is visible.

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