Skip to main content
Glama

session_import

Imports a session bundle into a browser profile, restoring saved logins and browsing state so AI agents can resume work within the same isolated identity.

Instructions

Unseal such a bundle into a profile.

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": "session_import"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden: is this a write that mutates or replaces a profile, is it reversible, does it need an active browser session or auth, does it fail if the profile exists? None of this is disclosed; the verb "unseal" conveys nothing about side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but brevity here comes from omission rather than economy: a single sentence whose subject ("such a bundle") is unresolvable and whose key constraint (into a profile) is unexplained. The fragment does not front-load anything actionable.

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?

For an import/mutation tool with no annotations, no output schema, and no parameters, the description does the minimum possible work. It omits the source of the bundle, the effect on the target profile, failure modes, and what a caller gets back, leaving the agent unable to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema declares zero parameters at 100% coverage, so there is nothing for the description to disambiguate and the baseline of 4 applies. The one residual gap is that the description never indicates how the bundle is supplied without parameters (ambient session state?), but that is a completeness concern rather than a schema one.

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

Purpose2/5

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

"Unseal such a bundle into a profile" gestures at importing something into a profile, but "such a bundle" has no antecedent anywhere in the definition or schema, and "unseal" is a metaphor rather than a specific verb. An agent cannot tell what resource is being consumed or what exactly is produced, only that it relates to the sibling session_export.

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

Usage Guidelines1/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 prerequisite (e.g. a prior session_export or existing profile), and no mention of alternatives such as lease_profile or session_export. The dangling "such a" even implies a context the agent does not have.

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