Skip to main content
Glama
mcp-browser-dev-tools

mcp-browser-dev-tools

by Hinaser

hover

Move the real mouse pointer to an element’s center or specified x/y coordinates, returning page changes for UI interaction and verification.

Instructions

Move the real mouse pointer to an element's center or x, y. Returns changes.

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
xNoViewport CSS px, with y, instead of selector.
yNo
selectorNoLocator: ref=e3, CSS, text=…, role=button[name="…"], name=…, or a >> b
sessionIdNo
timeoutMsNoms to retry while the element is missing, covered, or outside the viewport (default 2000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full load. 'Real mouse pointer' is a valuable disclosure (genuine input events that fire hover state, not synthetic dispatch), and the timeoutMs schema text covers retry-while-missing behavior. But 'Returns changes' is undefined, and nothing is said about side effects such as hover-triggered overlays or whether the pointer stays put afterward.

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?

Two compact, front-loaded sentences with no filler. The trailing 'Returns changes' is short but costs clarity rather than earning its place.

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?

Five parameters with zero required means the agent needs to know at least one targeting mode is mandatory, and nothing says so. With no output schema, 'Returns changes' leaves the return value opaque, and sessionId semantics are absent entirely — too many gaps for a 5-param 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?

At 60% schema coverage the description adds real value by framing the two targeting modes (selector versus x/y), which explains why both parameter families exist. However, it does not state that x and y must be supplied together, and sessionId is undocumented in both schema and description.

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 verb+resource is specific: 'Move the real mouse pointer to an element's center or x, y' tells an agent exactly what happens and names both targeting modes. It implicitly distinguishes itself from click/scroll by being a no-op hover, though it never names those siblings. 'Returns changes' is too vague to add precision.

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 at all: nothing says to use this for revealing hover menus, tooltips, or CSS :hover states, and nothing says when to prefer click or scroll instead. The only usable signal is the tool name itself, leaving the agent to infer the trigger conditions.

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