Skip to main content
Glama

chrome_clear_storage

Clear cookies, localStorage, sessionStorage, IndexedDB, and cache for a specified origin to reset site state and remove stale or conflicting browser data.

Instructions

Clear site data (cookies, localStorage, sessionStorage, indexedDB, cache, etc.)

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": {
      "origin": "<origin>"
    },
    "name": "chrome_clear_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNo
originYesOrigin to clear (e.g. https://example.com)
storageTypesNoComma-separated: cookies,local_storage,session_storage,indexeddb,cache_storage,all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. To its credit it discloses exactly which stores get wiped (cookies, localStorage, sessionStorage, indexedDB, cache), which is the single most important behavioral fact for a destructive operation, but it omits irreversibility, whether a confirmation is required, and what happens to untouched stores.

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?

One short, front-loaded sentence with no filler; the verb and resource come first and the parenthetical enumeration follows. The trailing 'etc.' is the only slack, since it weakens the otherwise precise enumeration.

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?

For a destructive tool with zero annotations and no output schema, the definition is thin: it never states that cleared data is unrecoverable, what storageTypes defaults to when omitted, or how tabId affects scope. An agent could invoke it correctly but cannot predict consequences.

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

Parameters3/5

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

Schema coverage is 67%, and the description's enumeration loosely maps to the storageTypes parameter, so it adds some meaning over the schema. However, it uses different spellings than the schema's enum values (localStorage vs local_storage, indexedDB vs indexeddb), never mentions that origin is required, and says nothing about what tabId scopes, leaving real gaps.

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 specific verb ('Clear') and resource ('site data') and enumerates the data categories affected, so the agent knows this is a bulk wipe rather than a targeted read/write. It does not distinguish itself from siblings that overlap on scope, notably chrome_delete_cookies and chrome_local_storage, both of which touch data this tool also clears.

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?

There is no when-to-use guidance at all: no statement about preferring this over chrome_delete_cookies or chrome_local_storage when only one data kind needs removing, and no prerequisites or warnings. The enumerated data types hint at breadth, but breadth of scope is not usage guidance.

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