Skip to main content
Glama
DailyNoBug

Playwright Browser MCP Server

by DailyNoBug

Load Auth Context

browser.load_auth_context

Restore a saved authentication context to the current browser session, reusing login state and avoiding repeated authentication steps.

Instructions

Load a saved auth context into the current session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
authContextIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYes
sessionIdYes
authContextIdYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It implies a mutation to the current session's auth state but does not explain effects (e.g., whether it replaces or merges existing auth), failure modes, or prerequisites. This is a significant gap for a tool that loads saved data.

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?

The description is a single, concise sentence with no redundant words. It is front-loaded and clearly communicates the core action without wasted effort.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has two required parameters, no annotations, and an output schema (whose contents are unknown), the description is severely incomplete. It lacks usage context, behavioral details, parameter explanations, and any mention of prerequisites or side effects. For a tool that modifies session state, this is inadequate.

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%, so the description must compensate. It provides minimal mapping: 'saved auth context' → authContextId and 'current session' → sessionId, but it does not clarify parameter formats, allowed values, or how the two relate. This adds only marginal value beyond the raw schema.

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 uses a specific verb ('load') and resource ('auth context') with a clear target ('current session'), making the tool's purpose unambiguous. It distinguishes itself from sibling tools like save_auth_context, list_auth_contexts, and delete_auth_context through the 'load' action.

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?

The description gives no guidance on when to use this tool versus alternatives, no prerequisites (e.g., existing session or saved auth context), and no exclusions. It merely states what the tool does without any contextual usage advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DailyNoBug/PlaywrightBrowserMCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server