Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

list_scripts

Lists all parsed scripts in the current page and optionally filters them by URL pattern, helping you locate scripts for debugging.

Instructions

List all parsed scripts.

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

Input Schema

NameRequiredDescriptionDefault
urlPatternNoFilter scripts by URL pattern

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.5/5.0
Behavior2/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 of behavioral disclosure and largely drops it. It implies a read, but says nothing about whether the result reflects only scripts in the current debugger session, whether it is paginated or unbounded, or whether scripts must be enabled/loaded first for them to appear.

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?

At one short sentence it is certainly front-loaded and free of waste. But the brevity is under-specification rather than economy: the sentence carries no context, scope, or return-shape information an agent needs.

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?

This is a simple one-parameter read tool, but with no annotations and no output schema the description is the only source of behavioral information, and it does not say what a "parsed script" record contains or how to interpret the listing. An agent can call it, but cannot predict or use the result well.

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% and the single optional urlPattern parameter is documented in the schema, so the baseline of 3 applies. The description adds no filtering semantics beyond that, and using the word "all" arguably undercuts the schema's urlPattern filter rather than explaining it.

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?

"List all parsed scripts" gives a clear verb and resource, so the agent knows the object type being returned. However, "parsed" is never explained (parsed by what? loaded into the current target?), and with many sibling list_* tools (list_requests, list_targets, list_service_workers) the description does nothing to distinguish this resource from those.

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 call this versus a sibling list tool, no precondition stated (e.g. connect/attach first), and no note on whether results are scoped to the active target. The agent must infer all of this from the name alone.

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