Skip to main content
Glama
seleniumbase

SeleniumBase MCP

Official

get_local_storage_item

Retrieve any value stored in the browser's localStorage by key, enabling access to session data during automated browsing.

Instructions

Get a value from the page's localStorage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Get a value' clearly signals a read operation with no mutation intent, which is helpful. However, it does not disclose what happens when the key is missing (e.g., null/undefined) or whether any side effects occur, so transparency is partial.

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 front-loaded sentence with no filler or redundancy. It states the verb and resource immediately and earns its place with clear, direct language. There is no unnecessary detail.

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 one-parameter getter, the description is close to adequate, but it leaves gaps: no mention of return behavior when the key is absent and no indication of how this differs from get_session_storage_item. There is no output schema to clarify return values, so the description should have provided a bit more context.

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%, and the description adds no extra meaning about the 'key' parameter beyond the schema's type and title. It does not explain that the key must match an existing localStorage entry or what value format is expected. The description should compensate for the sparse schema but does not.

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?

The description uses a specific verb and resource: 'Get a value from the page's localStorage.' It clearly states a read operation on localStorage, and the tool name reinforces the resource. However, it does not explicitly differentiate itself from sibling tools like get_session_storage_item or set_local_storage_item, though the localStorage mention makes the distinction reasonably clear.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives. It does not mention get_session_storage_item for session storage or set_local_storage_item for writes, nor does it describe contexts where this tool is inappropriate. The usage is only implied by the word 'localStorage'.

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