Skip to main content
Glama

hover_with_action

Hover over an element, click a revealed target, or drag-and-drop between selectors. Use for hover menus and drag-and-drop interactions.

Instructions

Hover over an element, optionally click another element, or drag-&-drop.

Use this tool for hover interactions, hover-triggered menus, and drag-and-drop operations.

Args: selector1: The primary element selector.

    For action="none", this is the element to hover over.

    For action="click", this is the element to hover over before
    clicking selector2.

    For action="drag_and_drop", this is the draggable source element.

selector2:
    The secondary element selector.

    Required for action="click", where it identifies the element
    revealed or targeted after hovering selector1.

    Required for action="drag_and_drop", where it identifies the
    destination/drop target.

    Not used for action="none".

action:
    - "none": Hover over selector1 only.
    - "click": Hover over selector1, then click selector2.
    - "drag_and_drop": Drag selector1 and drop it onto selector2.

Returns: A confirmation describing the performed operation.

Tool selection: - Simple hover -> action="none". - Hover over one element and then click another -> action="click". - Drag one element onto another -> action="drag_and_drop".

Notes: For action="click", selector1 is the hover target and selector2 is the click target.

For action="drag_and_drop", selector1 is the source and selector2
is the destination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNonone
selector1Yes
selector2No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden. It clearly states what each action does and what the return is. It doesn't address side-effect caveats such as page navigation or visibility requirements, but the core behavior is transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the summary and well organized into Args, Returns, Tool selection, and Notes. It is slightly repetitive because Notes restates selector roles already covered in Args, but the structure is scannable and easy to follow.

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?

It covers all parameters, all three action branches, selection guidance, and return behavior, so an agent can call it correctly in most cases. Minor gaps are the lack of stated preconditions such as an active browser session and no explicit exclusion for simple clicks, but these are not blocking.

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

Parameters5/5

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

The schema has zero parameter descriptions, but the description compensates fully by explaining selector1's role per action, selector2's requirement and nullability per action, and the exact meaning of every action enum value. This is thorough and directly actionable.

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 opens with the exact operations: hover, optional click, and drag-and-drop, and explicitly names hover-triggered menus as a key use case. This clearly differentiates it from siblings like click, focus_on, and scroll.

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?

It provides a dedicated 'Tool selection' section that maps each action value to a scenario, and says to use the tool for hover interactions, hover-triggered menus, and drag-and-drop. It does not explicitly mention when to use sibling tools instead, but the intended usage is clear enough.

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

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'

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