Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

update_registration

Force a service worker registration to update by specifying its scope URL, ensuring the browser uses the current worker script.

Instructions

Force update a service worker registration.

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": {
      "scopeURL": "<scopeURL>"
    },
    "name": "update_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeURLYesScope URL of the registration

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 behavioral burden. 'Force update' implies a mutation with side effects — re-fetching the worker script, bypassing HTTP cache, and potentially replacing an active worker — but none of that state, reversibility, or permission context is disclosed. The agent cannot predict whether this disrupts a running page or what it returns.

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 zero waste. Brevity is appropriate for a one-param tool, though the space saved is not used to explain 'force' or the update semantics.

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 tool with a fully documented schema and no output schema, the definition is minimally adequate. The missing piece is behavioral: what a 'force update' does to the live registration and what the caller should expect, which matters for a mutating operation with zero annotation coverage.

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% for the single scopeURL parameter, so the schema already defines its meaning; the description adds nothing beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 specific verb+resource: 'Force update a service worker registration.' An agent can tell this is a service-worker lifecycle operation, distinct from the DOM/network/script siblings. The only weakness is that 'force' is unexplained jargon (presumably bypassing the browser's update checks).

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?

No guidance on when to call this versus other service-worker or target operations, no prerequisites (e.g. must the service worker debug domain be enabled, must a registration for that scope already exist), and no mention of what to expect on failure when no registration matches the scope.

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