Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Get Web Storage

storage_get
Read-onlyIdempotent

Read localStorage or sessionStorage by key or as a bounded map, with values redacted unless explicitly requested.

Instructions

Read localStorage or sessionStorage by key or as a bounded map, with values redacted unless explicitly requested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoOptional key. Empty returns all keys.
areaNolocal
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.
include_valuesNoReturn storage values instead of redacting non-empty values.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.8
    • addedInput schema / properties / tab_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.",
      +  "title": "Tab Id"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "area": {
      -            "title": "Area",
      -            "type": "string"
      -          },
      -          "count": {
      -            "title": "Count",
      -            "type": "integer"
      -          },
      -          "include_values": {
      -            "title": "Include Values",
      -            "type": "boolean"
      -          },
      -          "items": {
      -            "additionalProperties": {
      -              "type": "string"
      -            },
      -            "title": "Items",
      -            "type": "object"
      -          },
      -          "key": {
      -            "title": "Key",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "area",
      -          "key",
      -          "include_values",
      -          "count",
      -          "items"
      -        ],
      -        "title": "StorageGetData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "area": {
      +            "title": "Area",
      +            "type": "string"
      +          },
      +          "count": {
      +            "title": "Count",
      +            "type": "integer"
      +          },
      +          "include_values": {
      +            "title": "Include Values",
      +            "type": "boolean"
      +          },
      +          "items": {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "title": "Items",
      +            "type": "object"
      +          },
      +          "key": {
      +            "title": "Key",
      +            "type": "string"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "area",
      +          "key",
      +          "include_values",
      +          "count",
      +          "items",
      +          "tab_id"
      +        ],
      +        "title": "StorageGetData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changedv0.8.0
    • changedInput schema / properties / include_values / default
      Previous value: -trueNew value: +false
    • addedInput schema / properties / include_values / description
      Added value: +"Return storage values instead of redacting non-empty values."
  3. Addedv0.7.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: values are redacted by default and the map form is bounded, which the agent cannot learn from the annotations or schema defaults alone.

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?

A single front-loaded sentence with no filler; the redaction caveat is attached where it matters rather than buried.

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?

An output schema exists so return values need not be explained, and annotations cover the safety profile. The remaining gap is the unspecified bound on the 'bounded map' and the interaction between key and tab_id, but the definition is otherwise complete for a four-parameter read 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 75% and the schema already documents key, tab_id and include_values, including the redaction default. The description largely restates what the schema provides (the two storage areas, redaction behavior) without adding format, size limits, or bounds for the 'bounded map'.

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?

States a specific verb and resource ('Read localStorage or sessionStorage') plus the two access modes (by key or as a bounded map). This clearly separates it from write-side siblings like storage_set and storage_clear, though it never names them explicitly.

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

Usage Guidelines3/5

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

The redaction clause implies when to pass include_values, but there is no explicit when-to-use guidance relative to storage_set/storage_clear or any statement about prerequisites or when to prefer key lookup over the map form. Usage is implied rather than stated.

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