Skip to main content
Glama

browser_delete_cookie

Remove a specific browser cookie by name to clear session data or reset state during Selenium automation.

Instructions

Delete a cookie from the browser

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the cookie to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

C2.9/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 burden. It does not disclose whether deletion is scoped by domain/path, whether the cookie must exist, what happens on a missing cookie, or whether the change is immediate or persistent — all material for a destructive mutation.

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?

The definition is a single front-loaded sentence with no filler or redundancy. Its brevity is efficient rather than padded, though the terseness comes at the cost of the guidance dimensions assessed above.

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?

The tool is simple — one fully documented parameter and no output schema to explain — so the definition is minimally adequate for invocation. It is incomplete for selection, since it never addresses its destructive nature or its relationship to the plural delete-cookies sibling.

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 parameter's meaning ("Name of the cookie to delete") is fully documented in the schema, so the description adds nothing beyond structure. Baseline 3 applies for a one-parameter tool whose schema is self-documenting.

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 pairs a specific verb ("Delete") with a specific resource ("a cookie") and names the object type the parameter targets, so an agent knows exactly what operation is performed. It stops short of distinguishing this from the sibling browser_delete_cookies or browser_clear, which share the deletion domain.

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 guidance at all. With siblings like browser_delete_cookies, browser_clear, and browser_get_cookies present, an agent gets no signal about single-cookie versus bulk deletion or which tool to pick.

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