Skip to main content
Glama

browser_cookies_save

Save current browser cookies to a JSON file by session ID and output path for backup, reuse, or debugging.

Instructions

Save current cookies to a JSON file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNo
session_idYes
output_pathYes
wrap_objectNo
timeout_secondsNo
allow_document_cookie_fallbackNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and discloses nothing beyond the one-line purpose. It doesn't say whether the write overwrites an existing file, what permissions/auth the session needs, whether the cookie set is scoped to the current page or the whole browser context, or how timeouts and fallback behave. For a disk-writing tool with zero annotation coverage this is a substantial gap.

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?

A single front-loaded sentence with no filler, which is efficient and easy to scan. It is arguably under-specified rather than wasteful, but as a structural matter there is nothing to trim.

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?

The presence of an output schema means return values needn't be described, but a six-parameter mutation tool with no annotations and 0% schema coverage needs more than one sentence. Key behavioral context (file overwrite semantics, cookie scoping, fallback behavior) is absent.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, and the description only loosely gestures at output_path ('to a JSON file'). Nothing explains domain scoping, wrap_object, timeout_seconds, or allow_document_cookie_fallback, so the agent is left guessing at the meaning and defaults of most inputs.

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 and resource ('Save current cookies') plus an output format ('to a JSON file'), which is enough to distinguish it from browser_cookies_get (retrieve) and browser_cookies_set (inject). It stops short of naming a sibling explicitly, so it stays at 4 rather than 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?

No when-to-use guidance, no prerequisites, and no routing to alternatives such as browser_cookies_get or browser_cookies_clear. The agent must infer that this is the persistence counterpart to cookies_get purely from the tool name.

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