Skip to main content
Glama

hover

Move the mouse pointer over an element by @eN reference or selector to trigger pointer-dependent menus, tooltips, or styles during browser automation.

Instructions

Hover over an element.

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": {
      "target": "<target>"
    },
    "name": "hover"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNoHover the Nth match (0-based, document order).
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
targetYes@eN ref or selector.
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.21.0
    • changedInput schema / properties / index / description
      Previous value: -"Hover the Nth match (0-based, from `candidates`)."New value: +"Hover the Nth match (0-based, document order)."
  2. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, yet it says nothing beyond the verb. It does not state whether hover triggers CSS :hover state, opens transient menus, dispatches mousemove events, or waits for anything, nor what the caller sees as a result.

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?

One short sentence with zero filler and a front-loaded verb, which is good structure. But it is under-specified rather than genuinely concise — the size reflects missing content, not efficiency.

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 four parameters, no annotations, and no output schema, the definition should explain side effects and return behavior; a single sentence leaves the agent without the state-change picture needed for a browser interaction tool.

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 description coverage is 100%, so target (@eN ref or selector), index (Nth match), session, and lease are all documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Hover over an element" names a specific verb and resource, so an agent can tell it is a pointer-move action rather than a click. However, it largely restates the tool name and gives no differentiation from close siblings such as mouse, focus, or click.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no indication of when to prefer hover over mouse or click, and no prerequisites (e.g., that the element must be visible/attached). Usage is only implied by the verb.

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