Skip to main content
Glama

chrome_local_storage

Read, write, remove, clear, or list localStorage values in a running Chrome tab via DevTools Protocol to inspect or modify client-side storage.

Instructions

Get or set localStorage values

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": {
      "action": "<action>"
    },
    "name": "chrome_local_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
tabIdNo
valueNo
actionYesAction to perform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/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 disclosure burden, yet it says nothing about whether writes persist across reloads, whether a tabId is needed to target the right page, whether 'clear' destroys all keys in the origin, or what any action returns. For a mutation-capable tool, this leaves the agent guessing about side effects and scope.

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?

The single short clause is front-loaded and contains no filler, which is good. However, its brevity stems from under-specification rather than efficiency, so it saves words at the cost of the information an agent needs.

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?

With four parameters, an enum of five actions, no annotations, and no output schema, the description is wholly inadequate. It omits the three additional actions, the role of every non-action parameter, and any behavioral context for what is effectively a read/write/delete tool.

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 only 25%, and the one documented field (action) is described merely as "Action to perform", which adds nothing. The description does not explain that key is needed for get/remove, value for set, or that tabId scopes the operation to a specific tab, so the remaining three parameters are undocumented in both places.

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 phrase "Get or set localStorage values" names a specific resource (localStorage) and two verbs, but the schema's action enum also supports "remove", "clear", and "keys", which the description omits. An agent reading only the description would not know the tool can enumerate keys or wipe storage, so the stated purpose understates the tool's actual scope.

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 guidance on when to use this versus alternatives such as chrome_clear_storage, nor any mention of prerequisites like requiring an open tab or a page context. The only implied guidance is that 'get' reads and 'set' writes, which an agent could infer from the name alone.

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