Skip to main content
Glama

save_login

Capture the authenticated session from an interactive login, save it to the project, and close the window for headless sessions. Re-run interactive login when the session expires.

Instructions

Capture the authenticated session (cookies + localStorage) from an in-progress interactive_login, save it to the project, and close the visible window. The project then opens authenticated sessions headlessly. Re-run interactive_login when the session expires.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject name with an interactive_login in progress
Behavior4/5

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

With no annotations, the description fully bears disclosure. It reveals key behaviors: saving cookies and localStorage, closing the visible window, enabling headless authenticated sessions, and the need to re-run interactive_login on expiration. It does not detail failure modes or overwrite behavior, but is sufficiently transparent.

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?

Two sentences with no waste. The first sentence encapsulates the core actions (capture, save, close), and the second provides the outcome and lifecycle. Every sentence earns its place.

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

Completeness5/5

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

For a simple tool with one parameter and no output schema, the description gives a complete picture: what it does, how it affects the session, and the follow-up action. It is thorough enough for an agent to understand the tool's role.

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?

The schema covers 100% of the single parameter with a clear description. The tool description reinforces that the project must have an interactive_login in progress, which adds context but does not substantially exceed the schema's information. Baseline 3 with slight added value.

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 clearly states the tool captures cookies and localStorage from an in-progress interactive_login, saves it, and closes the window – a specific verb+resource action. It distinguishes from sibling tools like interactive_login (initiates login) and close_session (only closes without saving).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says to use it when there is an in-progress interactive_login and mentions re-running interactive_login when the session expires, providing clear usage context. It does not explicitly exclude alternatives, but the sibling set implies close_session for just closing.

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/segentic-lab/periscope-mcp'

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