Skip to main content
Glama

storage

Manage browser localStorage and sessionStorage by getting, setting, removing, or clearing values for the active or specified tab.

Instructions

Read/write localStorage (or sessionStorage). op: get|set|remove|clear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYes
keyNo
tabIdNoTab id (default: active tab)
valueNo
sessionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.5
    • changedInput schema / properties / tabId / description
      Previous value: -"Target tab id (defaults to the active tab)"New value: +"Tab id (default: active tab)"
  2. First observedv0.6.2

TDQS

C2.9/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. It communicates the basic operation set but does not disclose side effects, whether clear/remove affect only the current tab, serialization behavior, return shape, or what 'sessionStorage' means in terms of the session parameter.

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?

The description is compact and front-loaded: the primary operation and storage target appear first卫生. It is not bloated, but the terse syntax leaves out parameter relationships that would make it more useful.

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?

This tool has five parameters, low schema coverage, no annotations, and no output schema severe. The short description does not cover essential behaviors like how tabId scoping works, what value types are expected, or what the result of 'get' looks like. An agent would likely need to experiment or consult external docs.

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 20%, and the description only partially compensates by listing op values and mentioning sessionStorage. The key, value, and session parameters remain functionally undocumented in both the schema and the description, so an agent cannot confidently construct a correct call beyond op.

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?

The description states a specific verb ('Read/write') and a concrete resource ('localStorage (or sessionStorage)'), and immediately enumerates the supported operations: get|set|remove|clear. This is enough for an agent to understand the tool's core purpose and distinguish it from navigation, tab, and script-execution siblings.

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 gives no guidance on when to use this tool versus alternatives such as eval, and does not mention any exclusions or prerequisites. It is left entirely to the agent to infer that this is for browser storage access.

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