Skip to main content
Glama
CapMonsterCloud

capmonster-mcp-patchright

Official

browser_sessionstorage_set

Set a sessionStorage key-value pair on the active page's origin to manage client-side state during automated browsing. Use to store temporary data needed for web automation tasks.

Instructions

Set a sessionStorage item on the active page's origin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It does not mention that setting an item overwrites an existing key, that sessionStorage is per-tab/origin, or any error conditions. The only added behavioral context is 'active page's origin', which is 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 concise sentence that states the action and scope with no unnecessary words. It is well-structured and front-loaded.

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 simple tool with two string parameters and no output schema, the description still falls short: it omits parameter semantics and usage alternatives. Without annotations or schema descriptions, the agent is left without enough information to call the tool confidently.

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

Parameters1/5

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

Schema description coverage is 0% and the description does not explain what 'key' and 'value' mean, how they should be formatted, or any constraints. With zero parameter documentation in both the schema and description, the agent cannot properly understand the inputs.

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 states a specific verb and resource ('Set a sessionStorage item') and adds the scope ('on the active page's origin'), making the core purpose clear. However, it does not differentiate among the many storage siblings (localStorage, cookies), so it lacks explicit sibling differentiation.

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?

No guidance is given on when to use this tool versus alternatives like browser_localstorage_set, browser_cookie_set, or browser_storage_save. The description only states the action without any context or exclusions, leaving the agent to infer the appropriate choice 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.