Skip to main content
Glama
CapMonsterCloud

capmonster-mcp-patchright

Official

browser_cookie_clear

Clear all session cookies to reset browser state, removing tracking or authentication data for a clean slate in automated web tasks.

Instructions

Clear all cookies in the current session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It clearly discloses that the action is destructive and applies to all cookies in the current session, but it does not mention side effects such as logging the user out or invalidating authentication state.

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?

The description is a single sentence with no filler, front-loading the action and directly stating the scope. Every word contributes meaningful information.

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 zero-parameter tool with no output schema, the description provides the essential information an agent needs: what action is performed and at what scope. The only minor ambiguity is what exactly constitutes the 'current session', but this is sufficient for straightforward invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and the schema has 100% description coverage, so there is nothing for the description to add about parameters. This matches the baseline for a parameterless tool.

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 states a specific action ('Clear all cookies') and scope ('current session'), making the purpose immediately obvious. It does not explicitly name the sibling browser_cookie_delete as the alternative for removing a single cookie, but the phrase 'all cookies' clarifies the breadth.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the wording: use this when you want to clear all cookies rather than a specific one. However, there is no explicit guidance mentioning alternatives like browser_cookie_delete, browser_sessionstorage_clear, or when to avoid running this destructive action.

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