Skip to main content
Glama

悬停

browser_hover
Idempotent

Hover the mouse over a page element by its snapshot ref to trigger hover menus, tooltips, and dropdown reveals, using the real input path so hover-dependent UI responds as it does for a human.

Instructions

Hover the mouse over an element by ref (triggers hover menus, tooltips, dropdown reveals). Uses the real input path so hover-dependent UI behaves as for a human.

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
refYesElement ref from browser_snapshot
tabIdNoTab id (default: active tab)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true; the description adds the non-obvious fact that it uses the real input path so hover-dependent UI behaves as for a human. That explains why the tool is not read-only yet is idempotent, which annotations alone leave ambiguous. It doesn't mention timing, retries, or what happens if the element is off-screen.

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 its effects, then a single sentence of behavioral rationale. No filler or redundancy.

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 two-parameter interaction tool with full schema coverage, no output schema, and meaningful annotations, the description covers what the tool does and why it behaves naturally. Additional detail on viewport scrolling or post-hover state expectations would be nice but isn't essential.

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 both parameters (ref, tabId) are fully documented in the schema, including that ref comes from browser_snapshot and tabId defaults to the active tab. The description's "by ref" only echoes this and adds no format or constraint detail. Baseline 3 is appropriate.

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 target ("Hover the mouse over an element by ref") and immediately enumerates the concrete UI outcomes it produces (hover menus, tooltips, dropdown reveals). The scope is narrow enough that an agent can distinguish it from browser_click or browser_drag without consulting 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 parenthetical "triggers hover menus, tooltips, dropdown reveals" tells the agent the situations where hovering is the right call, which is real when-to-use guidance. It stops short of explicit routing (e.g., "use browser_click for activating, browser_hover only for reveal-only UI"), so no exclusions are stated.

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