Skip to main content
Glama

browser.save_auth_profile

Capture the current session's authentication state and store it under a named profile to reuse login credentials in new browser sessions.

Instructions

Save the current session storage state into a reusable named auth profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoTarget session id, from browser.create_session or browser.list_sessions. Optional when exactly one session is live; observe and act tools create one when none is.
profile_nameYesName to save the signed-in state under; pass it to browser.create_session as auth_profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.1
  2. Removedv1.4.2
  3. Changed1 schema field changedv1.4.2
    • addedInput schema / properties / session_id / description
      Added value: +"ID of the target browser session, as returned by browser.create_session or listed by browser.list_sessions."
  4. Changed3 schema fields changedv1.0.3
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / session_id / maxLength
      Added value: +120
    • addedInput schema / properties / session_id / minLength
      Added value: +1
  5. First observedv0.5.0

TDQS

A3.7/5.0
Behavior3/5

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

The description states what is captured (current session storage state) and where it is stored (a reusable named auth profile), which is the core behavioral contract. However, it does not disclose overwrite behavior, whether an authenticated session is required, or what the tool returns; the annotations are all false flags and do not fill that gap.

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 with no filler; it front-loads the action and destination. Every word contributes to the meaning.

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 two-parameter save action, the required inputs are clear and the schema covers them well. However, there is no output schema and the description does not mention what happens on success, what the call returns, or what occurs when an existing profile name is reused, leaving moderate gaps.

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 schema already documents both parameters clearly, including the optionality of session_id and the relationship of profile_name to browser.create_session. The description adds no parameter-level detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and resource: save the current session storage state into a named auth profile. This clearly differentiates it from siblings like list_auth_profiles, create_session, and close_session.

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?

The description implies the use case by calling the profile 'reusable,' and the schema explains that the resulting profile is passed to browser.create_session, but the description itself gives no explicit when-to-use guidance or exclusions. An agent can infer the intended workflow but is not told directly when to prefer this over alternatives.

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