Skip to main content
Glama

hover

Move the pointer over an element by ref or CSS selector to open menus or tooltips and leave it positioned there.

Instructions

Move the mouse over an element (ref or CSS selector) to trigger hover menus/tooltips; the pointer stays there.

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
tabIdNo
targetYesref from snapshot: "e12" (single-agent) or "a<actor>:e12" (multi-agent session, copy exactly as shown), or a CSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / target / description
      Added value: +"ref from snapshot: \"e12\" (single-agent) or \"a<actor>:e12\" (multi-agent session, copy exactly as shown), or a CSS selector"
  2. First observedv0.2.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one non-obvious behavior — the pointer remains at the target position after the call — but says nothing about waiting for the menu/tooltip to appear, timeouts, or failure behavior when the element is missing or not hoverable.

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?

A single front-loaded sentence with the action first and the effect second; the semicolon clause on pointer persistence is informative rather than filler. Minor redundancy with the schema's target description.

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?

Adequate for a two-parameter browser action with no output schema, but absent annotations plus an undocumented tabId and unstated post-hover semantics (does it wait? how does the agent confirm the menu opened?) leave real questions for an agent driving a page.

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

Parameters2/5

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

The parenthetical '(ref or CSS selector)' merely restates the schema's own target description, adding no new meaning. With 50% schema coverage, tabId is undocumented in both schema and description, so the description does not compensate for the gap.

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?

States a specific verb and resource ('Move the mouse over an element') plus the intended effect ('trigger hover menus/tooltips'), which distinguishes it from click/dblclick siblings. It does not explicitly name those siblings, but the action is unambiguous.

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?

Implies the use case (revealing hover menus/tooltips) and the trailing clause 'the pointer stays there' hints at state persistence, but there is no explicit when-to-use/when-not guidance or reference to alternatives such as click or evaluate for hover-like effects.

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