Skip to main content
Glama

storage.clear_origin

Clears selected storage types for a page origin, letting agents reset browser state or remove cookies, local storage, and related data before testing or automation.

Instructions

Wipe selected storage types for the page origin.

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.clear_origin"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesNoDefault ["all"].
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, and "wipe" is consistent with a destructive operation, so there is no contradiction. The description does add the useful scoping fact that only the page's origin is affected, but says nothing about irreversibility, side effects, or whether other origins/tabs are untouched.

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 or redundancy. It is terse to the point of under-specification, but that is a completeness issue rather than wasted wording.

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, open-world mutation with three optional parameters and no output schema, the description should clarify what "all" covers, whether the wipe is irreversible, and how target_id/browser_id scope the operation. None of that is present, leaving the agent reliant on the schema alone.

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 100%, so parameter documentation is already handled by the input schema, making 3 the baseline. The description only loosely gestures at the `types` array via "selected storage types" and adds no format, default, or enumeration detail beyond the schema.

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?

States a specific verb ("wipe") and resource ("storage types") scoped to "the page origin," so the general action is graspable. However, "storage types" is left undefined and nothing distinguishes it from close siblings such as storage.clear, storage.clear_cookies, or storage.indexeddb.clear.

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, no stated preconditions, and no mention of alternatives despite a crowded sibling set of more specific clear/delete tools. The agent must guess whether this is the right choice over storage.clear or storage.indexeddb.clear.

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

Deploy Server

Other Tools