Skip to main content
Glama

Hover

hover

Move the mouse pointer over an element selected by CSS, text, role, test ID, XPath, or label to trigger pointer-over UI states such as menus and tooltips during browser automation.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage id. Defaults to the active page.
selectorYesCSS selector, text=..., role=button[name="Save"], testid=..., xpath=..., or label=...
timeoutMsNoOperation timeout in milliseconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 disclosure burden and provides almost nothing. It never says whether hover triggers CSS :hover and mouseover handlers, whether it scrolls the element into view, whether the hover state persists afterward, or what happens on timeout.

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 padding, but its brevity reflects under-specification rather than disciplined conciseness. There is room for a short second clause on behavior without bloat.

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?

For a browser-interaction tool with no annotations and no output schema, the description should disclose interaction semantics such as event triggering, scrolling, or wait behavior. Only the parameters are adequately covered, via the schema rather than the description.

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 the selector syntax, pageId default, and timeoutMs bounds are all fully documented in the schema. The description adds no meaning beyond those structured fields, which is the baseline expectation when the schema does the heavy lifting.

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?

The description names a verb and a resource ("Hover an element"), but it essentially restates the tool name with no added detail. It does not distinguish this tool from siblings like click or element_info, nor does it say what hovering achieves in a browser automation context.

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 guidance on when to use hover versus alternatives such as click or element_info, and no preconditions or exclusions are stated. An agent must infer everything about usage context from the tool name alone.

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