Skip to main content
Glama

session_select

Switch the active browser session so all following tool calls target the chosen browser while other sessions stay open. Check session_list for available session IDs.

Instructions

Make an existing browser session the active one, so every following tool call acts on that browser. The other sessions stay open exactly as they were. Use session_list to see the available ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession id, as returned by session_create or session_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / sessionId / description
      Added value: +"Session id, as returned by session_create or session_list."
  2. Addedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key behavior: other sessions remain open untouched, and the selection governs every following tool call (ambient state). It omits what happens on an invalid or destroyed session id, which is a notable gap for a state-changing tool.

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?

Three short sentences, front-loaded with the action and then the side-effect and the id source; nothing redundant.

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?

For a one-parameter selector with no output schema, the description covers purpose, cross-call effect, and id sourcing adequately; only error behavior on an invalid id is left unstated.

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 description coverage is 100% and the single sessionId parameter is already documented as coming from session_create or session_list, so the description adds only a pointer to session_list rather than new semantics. Baseline 3 applies.

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?

States a specific verb and resource ('Make an existing browser session the active one') plus the effect on subsequent calls, which cleanly separates it from session_list, session_create, and session_destroy.

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?

Gives clear operating context (multi-session switching) and points to session_list for obtaining ids, but never states when this should be preferred over session_create/start_browser or what to do when no session is currently open.

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