Skip to main content
Glama

storage_get

Read a page's localStorage or sessionStorage by listing keys with sizes or fetching one key. Secret-looking keys like token or auth are masked unless secrets are enabled.

Instructions

Read the page's localStorage or sessionStorage: list keys with sizes, or read one key. Secret-looking keys (token, auth, session…) are masked unless allowSecretValues is enabled in the config.

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

Input Schema

NameRequiredDescriptionDefault
keyNo
kindNo
tabIdNoTab ID from tabs_list. Omit for the active tab.
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose a key trait: secret-looking keys (token, auth, session…) are masked unless allowSecretValues is enabled in config. It leaves unstated whether the operation is strictly read-only, how missing keys are handled, and whether it requires an active page context.

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?

Two tightly written sentences, front-loaded with the core action and resource, followed by the masking caveat. No filler or redundant restatement of the name.

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

Completeness4/5

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

For a four-parameter read tool with no annotations and no output schema, the definition covers the core behavior, both modes, and the secret-masking caveat. It stops short of describing error behavior or confirming read-only semantics, but nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 50%, so the description must compensate for undocumented parameters. It does add meaning for 'key' (read one key) and 'kind' (localStorage vs sessionStorage), while tabId and profile are already described in the schema. It also clarifies that allowSecretValues is a config setting rather than a tool parameter.

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?

States a specific verb and resource ('Read the page's localStorage or sessionStorage') and enumerates both operating modes: list keys with sizes, or read one key. An agent can distinguish this from cookies_get or get_text without opening the schema.

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

Usage Guidelines4/5

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

The two modes imply the selection rule: omit the key to list, supply a key to read one value. It gives clear context for what the tool is for, but does not name an alternative or state when not to use it versus cookies_get or eval_js.

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