Skip to main content
Glama
ZenRows
by ZenRows

browser_clear_cookies

Clear all cookies for the current browser session via its session ID to reset state between page navigations.

Instructions

Clear all cookies for the current browser session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID returned by browser_navigate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.7.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already supply the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the bar is lower. The description usefully adds that the scope is ALL cookies and limited to the current browser session, but it does not say whether cookies are recoverable, whether other tabs are affected, or whether the call can fail on an invalid session_id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the action and immediately scoped. Nothing is wasted and nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with full schema coverage, no output schema, and annotations covering safety, this is nearly complete. The only missing element is any statement of effect or irreversibility, which is minor for this operation.

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 session_id parameter is documented as 'Session ID returned by browser_navigate'. The description's phrase 'current browser session' loosely maps to that parameter but adds no format or error-handling detail beyond the schema, so the baseline 3 applies.

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 ('clear all cookies') with an explicit scope qualifier ('for the current browser session'), which distinguishes it from browser_get_cookies and browser_set_cookies in the sibling list. It does not name an alternative sibling, so it falls short of a 5.

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 when-to-use guidance and no comparison to alternatives such as browser_get_cookies or browser_close. An agent must infer that this is for resetting session state before a fresh run; nothing in the text says so.

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