Skip to main content
Glama

storage.indexeddb.describe

Read-only

Describes the object stores, key paths, and indexes of a specified IndexedDB database so you can inspect its schema before querying or modifying browser storage.

Instructions

Object stores, key paths and indexes of one IndexedDB database.

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": {
      "database": "<database>"
    },
    "name": "storage.indexeddb.describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseYes
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.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description carries a lighter burden, yet it adds nothing behavioral: no indication of what happens if the named database does not exist, whether it attaches to a live page, or that the result is pure structure with no records. Only the 'one database' scoping constraint adds any information.

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 noun phrase contains no filler, but it is a fragment rather than a front-loaded sentence, so the agent gets the subject without an action or outcome. It is efficient to the point of under-specification.

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

Completeness3/5

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

With no output schema, the description partly compensates by enumerating what is returned (object stores, key paths, indexes), which is the minimum an agent needs to decide it is worth calling. It still omits any guidance on sequencing relative to sibling tools and any failure-mode context, so it is adequate but thin for an open-world browser-inspection tool.

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 target_id/browser_id parameters are already documented inline, so the baseline applies. The phrase 'one IndexedDB database' usefully reinforces that the required database parameter names a single store container rather than a pattern or list, but no value format or matching semantics are added.

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?

The fragment names a specific resource set (object stores, key paths, indexes) scoped to 'one IndexedDB database', which distinguishes it in substance from siblings like storage.indexeddb.databases (catalog level) and storage.indexeddb.query (data retrieval). It lacks an explicit verb, so the agent must infer from the tool name that this is an introspection/read operation, but the resource and scope are unambiguous.

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 exclusion, and no pointer to a named alternative; the agent is left to infer that this should precede a query to learn the schema. Nothing tells the agent how this differs from storage.indexeddb.databases or when to skip it.

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