Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

set_event_breakpoint

Pause execution when a specified browser event fires, such as click, submit, or keydown, so you can inspect and debug event-driven behavior.

Instructions

Break when a specific event is fired (e.g., click, submit, keydown).

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": {
      "eventName": "<eventName>"
    },
    "name": "set_event_breakpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventNameYesEvent name (e.g., click, submit, keydown, mouseover)
targetNameNoOptional target name filter

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 burden and only discloses that execution will pause when the event fires. It omits that this is a persistent debugger registration, whether it survives navigation, that removal requires remove_event_breakpoint, and any required debugger state; for a state-mutating debugger tool this is a significant gap.

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, which is the right size for a two-parameter tool. The one inefficiency is the redundant example list that duplicates the schema's own examples.

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 simple two-parameter tool with no output schema, the description is minimally adequate, but integration details an agent needs are absent: debugger prerequisites, persistence of the breakpoint, and lifecycle/removal. It also leaves targetName's semantics entirely to a vague schema hint.

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 eventName and targetName are already documented in the schema, and the description's example list ('click, submit, keydown') merely repeats the schema's eventName examples. It adds no meaning for targetName, such as what a target is or how matching works.

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?

States a concrete action (break/pause) on a specific resource (a fired event), which implicitly separates it from set_dom_breakpoint and set_xhr_breakpoint by naming the trigger type. It does not explicitly name a sibling, so differentiation relies on the word 'event'.

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 or when-not-to-use guidance: it never says to prefer this over set_dom_breakpoint, never mentions remove_event_breakpoint for cleanup, and gives no prerequisites such as the debugger needing to be attached. The event examples are illustrative rather than conditional guidance.

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