Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

delete_cookie

Deletes a browser cookie by name, with optional domain, path, and URL filters to match the exact cookie to remove during Chrome DevTools debugging sessions.

Instructions

Delete a browser cookie by name. Part of Network domain but grouped here for convenience.

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

Input Schema

NameRequiredDescriptionDefault
urlNoURL to match cookie
nameYesCookie name
pathNoPath to match cookie
domainNoDomain to match cookie

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 for a destructive mutation. It does not disclose what happens when the named cookie does not exist, whether a target/page context is required, whether the delete applies to the whole browser profile or one tab, or whether the operation is reversible. Only the domain-grouping note adds context.

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?

Two short sentences, front-loaded with the action, with no wasted phrasing. The second sentence earns its place by telling the agent the tool logically belongs to the Network domain despite its grouping.

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?

For a destructive tool with zero annotations, no output schema, and four parameters, the description is too thin. It never covers scope of deletion (profile vs tab), failure behavior, or required context, all of which an agent needs before invoking a delete.

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%, so all four parameters (name, url, path, domain) are already documented in structured form. The description adds nothing beyond restating that a name identifies the cookie, which is the baseline expectation 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 and resource ('Delete a browser cookie'), which an agent can distinguish from read/orientation siblings like get_attributes or capture_snapshot. The 'by name' qualifier is slightly narrow given the schema also supports url/path/domain matching, but the core action is unambiguous.

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?

The description gives no when-to-use context, no prerequisites, and no guidance on choosing between this and any alternative cookie operation. It also omits that domain/path/url may be needed to disambiguate which cookie gets deleted.

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