Skip to main content
Glama

google_storage

Inspect or modify a webpage's localStorage, sessionStorage, and cookies—including httpOnly flags—to debug, test, or automate browser storage state.

Instructions

读写页面 localStorage/sessionStorage/cookie(cookie 的 httpOnly 字段是关键证据)。

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

Input Schema

NameRequiredDescriptionDefault
opNo
keyNo
urlNo
areaNo
nameNo
valueNo
domainNo
secureNo
tab_idNo
http_onlyNo
same_siteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/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 drops most of it: it does not disclose that set/remove/clear mutate live page state, that clear wipes an entire area, that cookie writes depend on domain/secure/same_site, or that tab_id scopes the operation. The only real disclosure is the note that httpOnly is significant evidence, which is genuinely useful but far too thin for a tool with destructive options.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, which is structurally clean. But the brevity is under-specification rather than efficiency: one sentence cannot carry an 11-parameter, five-operation tool, and the parenthetical feels tacked on.

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 an unannotated tool with 11 undocumented parameters, multiple mutating operations, and no output schema, the description is drastically incomplete. An agent would have to guess which parameters pair with which op value and what a dump versus a get returns.

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 description coverage is 0% across 11 parameters, so the description must compensate and largely does not. It implicitly maps 'localStorage/sessionStorage/cookie' to the area enum and mentions httpOnly, but says nothing about op, key, name, value, url, domain, secure, same_site, or tab_id, or which parameters are required for which op.

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

Purpose3/5

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

The description names a resource (page localStorage/sessionStorage/cookie) and a verb pair (read/write), so the domain is identifiable. However, it flattens five distinct operations (dump/get/set/remove/clear in the schema) into a generic 'read/write', and it offers no differentiation from siblings such as google_eval, which could equally touch page storage. Purpose is inferable but not sharply stated.

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 when-to-use, when-not-to-use, or alternative-tool guidance is given. The parenthetical about cookie's httpOnly field being 'key evidence' hints at an investigative use case, but it is a hint rather than an instruction and says nothing about choosing between storage areas or between this tool and google_eval/google_read.

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