Skip to main content
Glama

browser.save_auth_profile

Save the current browser session's signed-in storage state as a named auth profile, so you can reuse that login later by passing the profile name when creating a new session.

Instructions

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

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": {
      "profile_name": "<profile_name>"
    },
    "name": "browser.save_auth_profile"
  }
}

Input 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.
approval_idNoID of the granted approval for exactly this call, from its approval_required answer.
profile_nameYesName to save the signed-in state under; pass it to browser.create_session as auth_profile.
workflow_profileNogoverned: a call that can change something waits for approval. It answers status approval_required with an approval_id; call again with that id once it is granted. fast, the default, runs it directly unless this tool or deployment always requires approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.19.0
    • addedInput schema / properties / approval_id
      Added value: +{
      +  "description": "ID of the granted approval for exactly this call, from its approval_required answer.",
      +  "type": "string"
      +}
    • addedInput schema / properties / workflow_profile
      Added value: +{
      +  "description": "governed: a call that can change something waits for approval. It answers status approval_required with an approval_id; call again with that id once it is granted. fast, the default, runs it directly unless this tool or deployment always requires approval.",
      +  "enum": [
      +    "fast",
      +    "governed"
      +  ],
      +  "type": "string"
      +}
  2. Addedv1.8.1
  3. Removedv1.4.2
  4. 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."
  5. 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
  6. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, so the safety profile is covered. The description adds that it captures live session storage state, but omits the behaviors an agent most needs: whether an existing profile of the same name is overwritten, whether it fails if the session is not signed in, and whether the profile persists across sessions.

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 and no repetition of the tool name. It is efficient, but its brevity leaves the definition thin rather than fully earning its place as the sole prose.

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?

Missing, but for a mutation tool with no annotations covering state semantics and no output schema, the definition should say what happens on name collision or an unsigned session. The rich schema offsets much of this, but the overwrite/persistence question is a real gap.

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 coverage is 100%, so all four parameters, including the governed/fast workflow profile and the approval_id retry pattern, are already documented. The description only echoes the profile_name meaning ('named') and hints at the session scope; it adds nothing beyond what the schema states.

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 names a specific verb and resource: save the current session's storage state into a named auth profile. That is concrete enough to distinguish it from list_auth_profiles (a read) and create_session (which consumes the profile), though it never explicitly contrasts itself with those siblings.

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?

There is no when-to-use guidance, no prerequisites (e.g. the session must be signed in), and no mention of when to use browser.create_session with auth_profile instead of saving a new one. The only routing hint (pass the name to create_session as auth_profile) lives in the schema, not the description.

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