Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_hide_highlight

Read-only

Remove a highlight overlay previously added to a page element to clear visual emphasis after inspection or debugging.

Instructions

Remove a highlight overlay previously added for the 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": {
      "session": "<session>"
    },
    "name": "browser_hide_highlight"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoOptional Chrome tab group color override for a newly created session.
targetNoExact target element reference from the page snapshot, or a unique element selector
accountNoChrome account profile to use (defaults to 'default'). Configured accounts: 'default' (Isolated Browser).default
elementNoHuman-readable element description used when adding the highlight; must match the value passed to browser_highlight.
sessionYesRequired isolated session name (also displayed as the Chrome tab group title), e.g. "T1867-api-debug" or "home-css". Use a unique, descriptive task name per conversation so concurrent agents never hijack each other's active tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description usefully clarifies that only a transient overlay is touched, not page content, but it omits idempotency (behavior when no matching highlight exists) and whether the session's tab group is affected.

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?

A single short sentence with zero filler, front-loading the verb and resource. Nothing in it is redundant or buried.

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

Completeness4/5

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

For a simple overlay-cleanup tool with full schema coverage and a clear non-destructive annotation set, the description is close to sufficient; an agent knows what it does and what it operates on. The only meaningful gaps are idempotency and the role of the unrelated color/account parameters, which the schema's defaults largely neutralize.

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?

With 100% schema description coverage, all five parameters are documented in the schema, including the note that element must match the value used with browser_highlight. The description reinforces the element linkage ("for the element") but adds no meaning about session, target, color, or account.

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?

"Remove a highlight overlay" gives a specific verb and resource, and "previously added for the element" scopes it as the inverse of browser_highlight rather than a new annotation. It never names the sibling explicitly, so an agent must infer the pairing, but the operation itself 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?

Usage is only implied through the phrase "previously added," which signals this is a cleanup step after browser_highlight. There is no explicit statement of when to call it, whether it is safe to call when no highlight exists, or how it relates to browser_annotate or browser_video_hide_actions.

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