Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

set_async_stack_depth

Configure the maximum async stack trace depth to control debugging detail; set 0 to disable async stack capture.

Instructions

Set maximum depth of async call stacks.

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": {
      "maxDepth": "<maxDepth>"
    },
    "name": "set_async_stack_depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxDepthYesMaximum async stack trace depth. 0 to disable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does not say whether the setting is global or per-target/session, whether it persists after disconnect, whether a lower depth improves performance, or what happens to already-captured traces — all material for a mutation-style configuration call.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness leaves no room for the scope or trade-off information an agent would benefit from.

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?

For a one-parameter configuration tool with a fully described schema and no output schema, the definition is minimally sufficient to invoke it. It is not complete, however, on scope (global vs target-specific) and side effects, which an agent needs before changing debugger behavior.

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% and the schema already documents the single parameter, including "0 to disable." The description adds no units, ranges, defaults, or practical values 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.

Purpose4/5

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

"Set maximum depth of async call stacks" states a specific verb (set) and resource (async call stack depth), which is unambiguous about what changes. It falls short of a 5 because it gives no signal about scope or how it differs from configuration siblings like set_pause_on_exceptions or debugger_enable.

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 guidance on when to change this setting versus leaving the default, no mention of related tools (debugger_enable, set_pause_on_exceptions) that shape stack capture, and no note that the change only matters when async stack traces are being collected. The agent must infer all usage context.

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

Deploy Server

Other Tools