Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_resume

Destructive

Resume a paused Playwright session to continue execution, optionally re-pausing before the next action for step-by-step debugging.

Instructions

Resume script execution after it was paused. When called with step set to true, execution will pause again before the next action.

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

Input Schema

NameRequiredDescriptionDefault
stepNoWhen true, execution will pause again before the next action, allowing step-by-step debugging.
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.
locationNoPause execution at a specific <file>:<line>, e.g. "example.spec.ts:42".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and openWorldHint=true, yet the description explains none of that risk — it never says that resuming will let pending actions actually execute against a live page, which is precisely why the tool is flagged destructive. The only behavioral note (step=true pauses again) merely restates what the schema already documents for the step parameter.

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 short sentences with the core action front-loaded and the conditional behavior second — no filler or redundancy. It is efficient, though it is efficient at the cost of the behavioral detail the annotations imply is needed.

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?

With 5 parameters but full schema coverage and no output schema, the description only needs to frame the action and the step behavior, which it does. The gap is qualitative rather than structural: it omits the destructive consequence of resuming and the relationship to whatever paused the script.

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%, so all five parameters (session, step, location, color, account) are already fully documented in the schema, making 3 the baseline. The description repeats the step=true behavior instead of adding new meaning, and says nothing about the required session name or the location pause point.

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 states a specific verb and object: "Resume script execution after it was paused." That is unambiguous and an agent can tell it apart from the navigation/inspection siblings. It stops short of naming or differentiating itself from the instruction that pauses execution, so it is clear but not maximally distinguished.

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?

"after it was paused" implies the precondition for calling it, which counts as implied usage guidance. However, it never says which tool causes the pause, what happens if the script is not actually paused, or any alternative for continuing execution — so the agent must already know the surrounding workflow.

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