Skip to main content
Glama

browser_loadCookies

Load saved session cookies by name so subsequent HTTP(S) page requests reuse an authenticated browser session instead of fetching logged-in pages anonymously.

Instructions

Load a saved session (cookies) from disk. Only http(s) pages requested after this call will use them — static fetches are skipped for the rest of the run, so a logged-in page is never answered anonymously.

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_loadCookies"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSession name to load (e.g., 'gmail')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.5.0
    • changedInput schema / properties / name / description
      Previous value: -"Session name to load (e.g., 'twitter-login')"New value: +"Session name to load (e.g., 'gmail')"
  2. Addedv3.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the persistence source (disk), the exact scope of effect (only http(s) pages requested after the call), and a notable side effect (static fetches skipped for the rest of the run). It does not say what happens on an unknown session name or whether existing cookies are replaced or merged.

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?

Two sentences, front-loaded with the action, and every clause conveys something operational. The second sentence is dense and slightly tangled ('static fetches are skipped for the rest of the run, so a logged-in page is never answered anonymously') but not wasteful.

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 one-parameter state-setting tool with no annotations and no output schema, this covers the essentials: what it loads, when the effect takes hold, and one important caveat. Missing only edge-case behavior (invalid session name, merge vs. replace) which an agent might reasonably want.

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?

Only one parameter with 100% schema description coverage, so the schema already explains 'name' and even supplies a 'gmail' example. The description adds conceptual framing ('saved session') but no format, matching, or failure semantics beyond the schema.

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: 'Load a saved session (cookies) from disk.' An agent can distinguish this from browser_saveCookies by the verb alone, though the description never names the complementary save/list tools explicitly.

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?

It gives a timing constraint — cookies apply only to http(s) pages requested after the call — which implies this must be invoked before navigating. But it offers no explicit when-to-use framing versus siblings (browser_listSessions, browser_saveCookies) and no prerequisites such as whether the named session must already exist.

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