Skip to main content
Glama

save_profile

Save cookies and browser storage state to a named profile in the sandbox directory so you can reuse authenticated sessions later.

Instructions

Save cookies + storage state to a named profile under the sandbox dir.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNosession

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With readOnlyHint=false and openWorldHint=true already supplied, the description adds real value by disclosing what is written (cookies and storage state) and where (sandbox dir). It does not disclose overwrite behavior when the profile name already exists, nor whether a path or confirmation is returned, which matters for a write tool.

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 sentence with no filler, and the payload and destination are front-loaded. It is arguably terse for a write operation, but nothing is wasted.

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 one-optional-parameter write tool with no output schema, the definition covers the essentials of what and where. It is incomplete regarding overwrite semantics and return value, which are exactly the gaps an agent needs filled when no output schema documents the response.

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 0%, so the description must carry the load; 'named profile' does clarify that the single name argument selects the profile to save to. However, it says nothing about the default value ('session' in the schema), allowed characters, or whether the name is a file or directory, leaving format details unspecified.

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 payload ('Save cookies + storage state') plus a destination ('named profile under the sandbox dir'), so the operation is unambiguous. It does not explicitly name the load_profile sibling or contrast save vs. load, so the differentiation is only implicit in the verb.

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 persistence intent (capture a session into a reusable profile) is implied by 'named profile' and the sandbox location, but there is no explicit when-to-use or when-not guidance and no mention of load_profile as the counterpart. An agent must infer the workflow from the name.

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