Skip to main content
Glama

set_storage

Set or update a browser storage key in local or session storage to control persistent or tab-scoped state during Chrome automation.

Instructions

Set Storage (alias)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
typeNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.3/5.0
Behavior1/5

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

Annotations are absent, so the description carries the full burden and discloses nothing: not that this mutates browser storage, not whether it overwrites or appends, not whether a page/context must exist first, and not what happens to an existing key.

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

Conciseness2/5

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

It is short, but this is under-specification rather than conciseness — a bare name-and-alias string with no front-loaded purpose statement, so brevity buys nothing.

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

Completeness1/5

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

For a 3-parameter mutation tool with zero annotation coverage, no output schema, and an unexplained enum, the description omits everything an agent needs to invoke it correctly.

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% for all three parameters. The description does not explain that key is the storage key, that value is the payload, or that the local/session enum selects the storage backend — the only genuinely ambiguous choice in this schema.

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

Purpose2/5

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

"Set Storage (alias)" only restates the tool name; it names no resource scope, no target (localStorage vs sessionStorage), and does not distinguish itself from siblings such as get_storage, clear_storage, or storage. The "(alias)" tag adds no actionable meaning.

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

Usage Guidelines1/5

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

No when-to-use guidance, no conditions, and no mention of the four closely related siblings (storage, get_storage, clear_storage, set_cookie) that an agent must choose between. The agent is left to 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.