Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_start_tracing

Read-only

Starts trace recording for a named isolated browser session, capturing Playwright actions for debugging without interfering with other agents.

Instructions

Start trace recording

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

Input Schema

NameRequiredDescriptionDefault
colorNoOptional Chrome tab group color override for a newly created session.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, yet the description says the tool "Start[s] trace recording" — a state-changing action that creates a recording artifact and must presumably be terminated later with browser_stop_tracing. The description also omits where the trace is written, whether it adds runtime overhead, and whether a prior trace is overwritten, so it supplies no behavioral context to reconcile the contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words contain no filler, but this is under-specification rather than conciseness — nothing is front-loaded because there is essentially nothing there. It is not wasteful, just bare.

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?

For a three-parameter, session-scoped tracing tool with no output schema, the agent needs to know what the trace captures, that stopping requires browser_stop_tracing, and how session isolation affects the recording. None of that is present, leaving the definition incomplete relative to its operational role.

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%: the session, color, and account parameters are each fully documented in the schema, including the requirement for a unique per-conversation session name. The description adds no meaning beyond that, so the baseline 3 applies.

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

Purpose3/5

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

"Start trace recording" names a verb (start) and a resource (trace recording), so the basic action is inferable. But it does nothing to distinguish itself from siblings such as browser_start_recording, browser_start_video, or browser_stop_tracing, and never says what kind of trace (performance timeline, Playwright trace, etc.) is produced. Purpose is only minimally viable.

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: no mention of prerequisites, of which sibling to pick for video vs. trace vs. recording, or of the paired browser_stop_tracing call. The agent must guess the usage context entirely from the tool name.

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