Skip to main content
Glama
yogesh-joshi-0333

browser-control-mcp-server

Browser Cookies

browser_cookies

Read, write, delete, or clear page cookies to inspect auth sessions, inject a saved login state, or reset cookies before testing a fresh session.

Instructions

Get, set, delete, or clear cookies on the current page. Use this to inspect auth/session cookies, inject a saved session to skip a login flow, or clean up before testing a fresh session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoForce a specific mode. Defaults to extension.
nameNoCookie name (required for "set" and "delete")
pathNoCookie path (optional for "set")
valueNoCookie value (required for "set")
actionYesAction to perform
domainNoCookie domain (optional for "set", defaults to the current page's domain)
secureNoMark cookie Secure (optional for "set")
expiresNoUnix timestamp in seconds when the cookie expires (optional for "set")
httpOnlyNoMark cookie HttpOnly (optional for "set")
sessionIdNoPuppeteer session ID for headless mode. Skips mode selection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.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 burden. It discloses that the tool mutates state via set/delete/clear and frames the cleanup use case, but says nothing about the scope of clear (current page vs all domains), auth/permission needs, or reversibility of destructive actions. Adequate but materially incomplete for a mutation tool.

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?

Two sentences, zero waste, with the capability statement front-loaded and the use cases following. Every clause earns its place.

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?

For a 10-parameter tool with no annotations and no output schema, the description covers intent well but omits the return shape of get, the meaning of mode/sessionId selection, and the blast radius of clear. It is workable but leaves gaps an agent must infer.

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 the schema already documents all 10 parameters including enums and per-action requirements. The description adds no syntax, defaults, or format detail beyond the schema, so the baseline 3 is appropriate.

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 set (get, set, delete, clear) plus resource (cookies on the current page), which is precise enough for an agent to act. It does not explicitly differentiate from the sibling browser_storage, which handles a related but distinct resource, so it stops 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 Guidelines4/5

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

Gives three concrete usage scenarios (inspect auth/session cookies, inject a saved session to skip login, clean up before fresh testing), which is strong context for when to reach for this tool. It offers no exclusions or named alternatives (e.g., browser_storage or browser_auth), so it is clear but not complete.

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