Skip to main content
Glama

chrome_delete_cookies

Delete browser cookies by name, domain, path, or URL scope, or clear all cookies at once. Use it to reset sessions or remove specific tracking cookies before automating Chrome.

Instructions

Delete cookies by name or clear all

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": "chrome_delete_cookies"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL scope for cookie deletion
nameNoCookie name to delete
pathNoCookie path (default: /)
tabIdNo
domainNoCookie domain when URL is not provided
clearAllNoClear ALL browser cookies

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a destructive operation. It does not warn that deletions are irreversible, that clearAll wipes every cookie in the browser, or whether permissions or a specific tab context are required. The only behavioral hint is the word 'all' in 'clear all'.

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?

The single sentence is front-loaded and free of padding, but for a six-parameter destructive tool it is arguably too terse to be 'appropriately sized.' The brevity is efficient but leaves the destructive scope under-explained.

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?

With no annotations, no output schema, and six parameters, the description should do more to cover the destructive nature of the tool and the interaction between scoping fields. As written, an agent cannot confidently call clearAll without external inference about the consequences.

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 83%, so the schema already documents five of the six parameters. The description's 'by name or clear all' loosely maps to the name and clearAll fields but adds no detail on how url, domain, and path interact as scoping filters, and the undocumented tabId parameter is not addressed.

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?

The description names a specific verb (Delete) and resource (cookies) and states the two operating modes, by name or all. It does not distinguish this from the sibling chrome_clear_storage or clarify how it relates to chrome_get_cookies, so an agent must infer the boundary.

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 phrase 'by name or clear all' implies the two modes but gives no guidance on when to choose clearAll versus a targeted name/domain/url deletion, and no mention of the sibling chrome_clear_storage as an alternative. The agent is left to infer the selection criteria from the schema alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.