Skip to main content
Glama

get_local_storage

Retrieve a value from localStorage by key, or fetch all stored keys when no key is provided.

Instructions

Get a value from localStorage, or return all keys if no key is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNolocalStorage key (omit for all)
Behavior3/5

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

Without annotations, the description must fully convey behavior. It states the basic function but does not disclose what happens if the key does not exist (e.g., returns null or undefined) or confirm the read-only nature. This is adequate for a simple getter but lacks detail on error handling.

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

Conciseness5/5

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

The description is a single concise sentence that front-loads the purpose. No unnecessary words or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one optional parameter, no output schema), the description is mostly complete. It could improve by specifying the return format (e.g., string or array of strings), but it still provides enough context for basic usage.

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%; the description adds 'omit for all' which echoes the schema's description. No additional semantic enrichment beyond what the schema already provides.

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 'Get a value from localStorage, or return all keys if no key is given' clearly states the action (get) and the resource (localStorage). It distinguishes from sibling tools like set_local_storage (write) and get_session_storage (different storage).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use: when you need to retrieve a value from localStorage or list keys. It doesn't explicitly state when not to use or name alternatives, but the context from sibling names provides sufficient guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seleniumboot/selenium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server