Skip to main content
Glama
Browser MCP Server

Browser MCP Server

get_session_storage

Retrieve a browser page's sessionStorage data by page ID to inspect tab-scoped state during automation.

Instructions

Get sessionStorage (compact).

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

Input Schema

NameRequiredDescriptionDefault
pageIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It says nothing about what 'compact' means in the returned data, whether the read is scoped to the current page or a specific pageId, or what happens when no pageId is given — all material for a storage-read tool.

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

Conciseness3/5

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

It is short and front-loaded, but the lone parenthetical '(compact)' is ambiguous filler rather than useful compression. The definition is under-specified rather than genuinely concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description should explain the return shape and the pageId default. Neither is present, leaving the agent unable to call it confidently beyond guessing.

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 single optional parameter pageId is never mentioned in the description. The agent cannot tell whether pageId targets a specific tab/frame or defaults to the active page, so the description does not compensate for the coverage gap.

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

Purpose3/5

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

The description names a verb and a resource ('Get sessionStorage'), which is enough to know it reads storage. However, the parenthetical '(compact)' is unexplained — it could mean a compacted return format, a subset of keys, or a size limit — and nothing distinguishes it from the sibling get_local_storage or set_session_storage.

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?

There is no guidance on when to use this tool, no mention of the pageId-less default (current page?), and no contrast with get_local_storage or set_session_storage. The agent must infer everything from the name alone.

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