Skip to main content
Glama

Hover

hover

Move the mouse over a browser element to reveal menus or tooltips, targeting it by element ref, CSS selector, visible text, or ARIA role and name.

Instructions

Move the mouse over an element (menus, tooltips). Target one of: ref (preferred), selector, text, or role+name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hover"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from the latest snapshot, e.g. e12. Preferred over selectors.
nameNoAccessible name to combine with role.
roleNoARIA role, e.g. button, link, textbox, checkbox, combobox.
textNoVisible text to match (first match wins).
exactNoRequire exact text/name match.
confirmNoConfirm a high-impact action when the server policy is ask.
observeNoReturn a compact change observation after the action (default true).
selectorNoCSS selector (use when no ref is available).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description bears most of the disclosure load. It hints at the observable outcome (menus and tooltips appear) but never states that hovering can fire page handlers and change UI state, nor explains the confirm/observe behavior present in the schema.

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 short sentences, purpose first, targeting strategy second, with no filler. Every clause carries information an agent needs at call time.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no output schema, the definition covers the core action and target selection adequately, and the schema absorbs the rest. However, it leaves the high-impact confirm path and the post-action observe behavior unmentioned, which matters for a tool whose annotation says it is not read-only.

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 every parameter is already documented, including the ref-over-selector preference. The description's one added value is framing the four targeting strategies as mutually exclusive alternatives, which the flat schema does not make explicit; otherwise it is baseline.

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

Purpose4/5

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

The description gives a specific verb and resource ("Move the mouse over an element") and adds the motivating outcome ("menus, tooltips"). It stops short of distinguishing itself from sibling tools like click or press, which also target elements, so the boundary there has to be inferred.

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

Usage Guidelines3/5

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

It supplies a targeting preference ("ref (preferred)") and parenthetically hints at the use case (revealing menus and tooltips), but says nothing about when to choose hover over click, or when hover is unnecessary or unsafe.

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