Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_video_show_actions

Read-only

Annotate subsequent page actions with callouts, target highlights, and optional pointer effects so viewers can follow browser tasks during video recording or screencasting.

Instructions

Annotate subsequent actions performed on the page with a callout that names the action and, when styled, marks the action point and highlights the target element. Useful while video recording or screencasting.

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_video_show_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoOptional Chrome tab group color override for a newly created session.
styleNoStyles of the action decorations.
cursorNoCursor decoration for pointer actions. "pointer" (default) animates a mouse pointer from the previous action point to the next one; "none" disables the cursor decoration.
accountNoChrome account profile to use (defaults to 'default'). Configured accounts: 'default' (Isolated Browser).default
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.
durationNoHow long each action annotation stays on screen, in milliseconds. Defaults to 500.
positionNoWhere to place the action title relative to the page. Defaults to top-right.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 and the description's remaining job is to explain state. It does imply persistence by scoping itself to 'subsequent actions,' but never states that this installs an ongoing overlay mode, whether it is scoped to the named session, or how it is disabled. No contradiction with the annotations — the page decoration is not a data mutation — but the stateful nature is only hinted at.

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 sentences, no filler, and the core behavior leads ahead of the use-case hint. The 'when styled' clause efficiently compresses a conditional about optional decoration without spending a separate sentence on it.

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?

With 7 parameters, a nested style object, and no output schema, the definition is reasonably served by its rich schema, but it omits the one thing an agent most needs for correct orchestration: that this is a toggle-style mode whose counterpart is browser_video_hide_actions, and that the required session scopes the overlay. Complete enough to invoke once, not complete enough to manage over a session.

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 coverage is 100%, so every parameter including the nested style object, cursor, position, and duration is already documented in the schema; the baseline of 3 applies. The description adds only modest meaning by clarifying that the point marker and element highlight are conditional on styling being supplied, which usefully signals they are opt-in rather than default.

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 object — 'annotate subsequent actions performed on the page' — plus the concrete artifact (a callout naming the action, an action-point marker, an element highlight). That is enough to distinguish it from generic tools like browser_click or browser_annotate, but it never names browser_video_hide_actions, the obvious counterpart, so the pair's division of labor is left implicit.

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

Usage Guidelines4/5

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

'Useful while video recording or screencasting' supplies a clear enabling context that narrows the tool's applicability. There are no exclusions or named alternatives, so an agent must infer that browser_video_hide_actions turns the behavior back off, keeping this out of 5 territory.

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