Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

list_targets

Lists all Chrome debug targets, including pages, workers, and service workers, to help you identify what can be inspected or attached to. Use the pages-only alternative when you need just tabs.

Instructions

List all debug targets (pages, workers, service workers, etc.). For just pages/tabs, use list_pages instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoHTTP URL of Chrome debug endpoint. Uses current connection if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. 'List' implies a safe read, and the schema notes the URL is optional and falls back to the current connection, but the description itself says nothing about return shape, ordering, or whether disconnected endpoints are included.

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 with zero padding; the broad-scope statement comes first and the sibling routing rule second. Every clause earns its place.

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?

For a trivial read-only listing tool with one optional parameter and no output schema, the description covers scope and the key alternative. Only minor gaps remain, such as what a returned target looks like or how the connection fallback affects results.

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?

Only one optional parameter with 100% schema description coverage, so the schema already explains that 'url' is the Chrome debug endpoint and defaults to the current connection. The description adds no further semantics, which is acceptable at full coverage but not a value-add.

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

Purpose5/5

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

States a specific verb ('List') and resource ('debug targets') and enumerates the resource types (pages, workers, service workers) so the agent knows the breadth of results. It also explicitly distinguishes itself from the narrower list_pages sibling.

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?

Gives an explicit routing rule: for just pages/tabs, use list_pages instead, which tells the agent when not to use this tool. It does not address other plausible alternatives (list_service_workers, list_attached_sessions), so the guidance is clear but not exhaustive.

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