Skip to main content
Glama
seleniumbase

SeleniumBase MCP

Official

set_session_storage_item

Set a key-value pair in the browser's sessionStorage to persist data for the current page session.

Instructions

Set a value in the page's sessionStorage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the behavioral transparency burden. It clearly states the write operation and the target storage, but it does not mention overwrite behavior, session/tab scoping, or storage constraints. The wording is honest but minimal.

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 sentence with no filler. It front-loads the action and resource immediately and earns every word.

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 simple two-parameter tool with an output schema, the core operation is captured. However, because there are no annotations and the description is very brief, an agent is left to infer details like overwriting behavior and the difference between sessionStorage and localStorage.

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 needed to compensate. It only says 'a value' and does not explain the roles of 'key' and 'value' beyond their obvious names. The semantics are self-evident enough to avoid a 1, but the description adds no real parameter insight.

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 ('Set') and a precise resource ('the page's sessionStorage'). It clearly distinguishes this from sibling tools like get_session_storage_item and set_local_storage_item by naming the exact storage mechanism.

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 description gives clear context: use this when writing a value to sessionStorage. However, it does not explicitly mention alternatives such as set_local_storage_item or state when not to use this tool, leaving some usage decisions to inference.

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/seleniumbase/SeleniumBase'

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