Skip to main content
Glama

Hover

browser_hover

Hover over menus, tooltips, and other elements to reveal hidden options or trigger hover-dependent UI states during automated browser sessions.

Instructions

Hover over an element (menus, tooltips).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_hover"
  }
}

Input Schema

NameRequiredDescriptionDefault
nthNo
refNoElement ref from snapshot (preferred)
nameNo
roleNo
textNo
exactNo
labelNo
expectNoExpectSpec postconditions
pageIdNo
testIdNo
withinNoScope to a unique container (ref, role+name, label, testId or CSS selector)
sessionNo
selectorNoCSS (last resort)
snapshotNoPage state returned after the action: diff (default), full, none
placeholderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already supply readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety envelope is covered. The description adds nothing beyond that — it does not mention that hovering may itself trigger transient state (open menus, tooltips, hover CSS), nor does it say whether the action waits or what happens if the element is not hoverable.

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 free of waste, but it is terse to the point of under-specification for a 15-parameter tool. Conciseness is achieved at the cost of missing guidance rather than through efficient compression.

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?

With 15 parameters, a nested within object, no output schema, and low schema coverage, this definition leaves too much unsaid. It does not explain how to target an element, how to scope the search, or what page state is returned afterward, all of which an agent needs to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% across 15 parameters, so the description should compensate but does not mention a single parameter. It gives no hint about the ref-preferred targeting strategy, the locator alternatives (role/name/label/testId/selector), the within-scoping object, or the snapshot return mode.

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 resource ("hover over an element") and parenthetically names the UI patterns it targets (menus, tooltips), which makes the action unambiguous. It does not explicitly contrast with siblings such as browser_click, but the action itself is distinct enough that an agent can identify it.

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?

The mention of "menus, tooltips" implies the intended use case: revealing hover-triggered UI before interacting with it. However, there is no explicit when-to-use versus when-not guidance, no note about needing a prior snapshot or element ref, and no alternative named for cases where hovering is insufficient.

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