Skip to main content
Glama

读取页面存储

storage_read

Retrieve the current page's cookies, localStorage, sessionStorage, and IndexedDB database names from a running Chrome or Edge browser via DevTools.

Instructions

读取当前页面的 Cookies、localStorage、sessionStorage 与 IndexedDB 数据库名。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses a scope limit — IndexedDB is exposed only as database names, not record contents — but says nothing about cross-origin/iframe restrictions, permissions, or whether writes are involved (it is read-only by implication of 读取).

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?

A single front-loaded sentence that names the action and then enumerates the covered stores. Every clause earns its place, with no preamble or filler.

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 parameterless read tool with no annotations and no output schema, the description adequately names what is retrieved, and the IndexedDB-names caveat pre-empts a wrong expectation about return depth. It could say slightly more about the shape of what comes back, but it is substantially complete.

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?

The tool takes zero parameters and the schema is empty, so there is no parameter semantics to clarify; the baseline for a parameterless tool is 4. Nothing in the description misleads about inputs.

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 (读取/read) and resource (页面存储/page storage) and enumerates exactly which stores are covered: Cookies, localStorage, sessionStorage, and IndexedDB database names. No sibling overlaps with this scope, so an agent can select it without ambiguity.

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?

The description never states when to reach for this tool versus adjacent read tools such as console_read, network_list, or page_evaluate. There are no prerequisites, exclusions, or alternatives mentioned.

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