Skip to main content
Glama

storage_get

Read local or session storage values from the current page origin to inspect saved state, with optional key filtering and tab targeting.

Instructions

Read local/session storage from the page origin.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "storage_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container.
keysNo
kindYes
tabIdNoOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. Saying storage comes "from the page origin" hints at same-origin scoping, but it says nothing about failure modes on wrong origin, whether an empty result is returned for missing keys, or what shape the values take. For a read with zero annotation coverage this is thin.

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

Conciseness4/5

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

A single front-loaded sentence with no filler, which is appropriate for a simple read tool. Brevity is not the problem here; substance is.

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?

With four parameters, no annotations, and no output schema, the description should at minimum explain the returned structure and the keys filtering semantics. It omits both, leaving an agent unable to predict the result shape.

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 coverage is 50%: ref and tabId are documented in the schema, kind is self-evident via its enum, but keys has no description anywhere. The description does not explain whether omitting keys returns all storage entries or what happens with unknown keys, so it fails to compensate for the coverage gap.

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?

States a concrete verb ("Read") and resource (local/session storage) plus the scope ("page origin"), which pairs naturally against the sibling storage_set. It is clear what the tool does, though it never explicitly distinguishes itself from writing tools or from browser_eval.

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 on when to use this versus storage_set, cookies_get, or browser_eval, and no preconditions (e.g. needing an active tab or same-origin page). The agent must infer usage entirely from the name and description.

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