Skip to main content
Glama

hover

Hover over a specified element to reveal hidden UI, then optionally click an element that appears, such as a dropdown item. Use this to interact with menus and tooltips.

Instructions

Simulate a mouse hover over an element, optionally then clicking a second element that the hover reveals (e.g. an item in a dropdown menu). Args: selector: Element to hover over. then_click_selector: If given, click this element after hovering.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes
then_click_selectorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the burden of explaining what the tool does. It discloses the hover action and the optional second click, and indicates that the click targets an element revealed by the hover. It does not detail waiting behavior, failure conditions, or whether the hover must be on a visible element, but the core side effect is accurately represented.

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 compact and front-loaded: the action and optional follow-up are stated first, followed by a brief example and compact parameter explanations. Every sentence contributes useful information with no padding.

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?

Given this is a simple two-parameter browser action with an output schema available, the description covers the invocation pattern and both parameters. It does not detail edge cases like non-revealing hovers or timeout behavior, but for this tool's complexity the guidance is sufficiently complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does. It explains selector as 'Element to hover over' and then_click_selector as 'If given, click this element after hovering,' adding meaning that the schema titles alone do not provide. It stops short of specifying selector syntax, but the semantics for both parameters are clear.

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?

The description clearly states a specific action: simulate a mouse hover over an element, with the optional follow-up of clicking a second element revealed by the hover. The dropdown example grounds the use case and distinguishes it from sibling tools like click and drag_and_drop.

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 clear context for when to use this tool: when an element requires hovering to reveal another element, e.g. a dropdown menu item. It does not explicitly mention alternatives or when not to use hover, but the conditional then_click_selector behavior effectively communicates the intended pattern.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seleniumbase/seleniumbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server