Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

List Frames

frame_list
Read-onlyIdempotent

Lists iframe and frame contexts on the current page without changing global state, enabling targeted frame selection for web automation workflows.

Instructions

List iframe/frame contexts on the current page without changing global state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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"
      +}
    • addedOutput schema / $defs
      Added value: +{
      +  "ElementPresentationData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ancestor_3d": {
      +        "title": "Ancestor 3D",
      +        "type": "boolean"
      +      },
      +      "coordinate_actionability": {
      +        "enum": [
      +          "ready",
      +          "hidden",
      +          "off_viewport",
      +          "covered",
      +          "pointer_disabled",
      +          "transformed_3d",
      +          "target_document_only"
      +        ],
      +        "title": "Coordinate Actionability",
      +        "type": "string"
      +      },
      +      "display": {
      +        "title": "Display",
      +        "type": "string"
      +      },
      +      "opacity": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "title": "Opacity"
      +      },
      +      "perspective": {
      +        "title": "Perspective",
      +        "type": "string"
      +      },
      +      "pointer_events": {
      +        "title": "Pointer Events",
      +        "type": "string"
      +      },
      +      "three_dimensional": {
      +        "title": "Three Dimensional",
      +        "type": "boolean"
      +      },
      +      "transform": {
      +        "title": "Transform",
      +        "type": "string"
      +      },
      +      "transform_style": {
      +        "title": "Transform Style",
      +        "type": "string"
      +      },
      +      "transformed": {
      +        "title": "Transformed",
      +        "type": "boolean"
      +      },
      +      "visibility": {
      +        "title": "Visibility",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "display",
      +      "visibility",
      +      "opacity",
      +      "pointer_events",
      +      "transform",
      +      "transform_style",
      +      "perspective",
      +      "transformed",
      +      "ancestor_3d",
      +      "three_dimensional",
      +      "coordinate_actionability"
      +    ],
      +    "title": "ElementPresentationData",
      +    "type": "object"
      +  },
      +  "ElementRectData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "click_point": {
      +        "$ref": "#/$defs/PointData"
      +      },
      +      "coordinate_space": {
      +        "const": "target_document",
      +        "title": "Coordinate Space",
      +        "type": "string"
      +      },
      +      "location": {
      +        "$ref": "#/$defs/PointData"
      +      },
      +      "midpoint": {
      +        "$ref": "#/$defs/PointData"
      +      },
      +      "size": {
      +        "$ref": "#/$defs/SizeData"
      +      },
      +      "viewport_click_point": {
      +        "$ref": "#/$defs/PointData"
      +      },
      +      "viewport_coordinate_space": {
      +        "enum": [
      +          "top_level_viewport",
      +          "target_document_viewport"
      +        ],
      +        "title": "Viewport Coordinate Space",
      +        "type": "string"
      +      },
      +      "viewport_location": {
      +        "$ref": "#/$defs/PointData"
      +      },
      +      "viewport_midpoint": {
      +        "$ref": "#/$defs/PointData"
      +      }
      +    },
      +    "required": [
      +      "location",
      +      "size",
      +      "midpoint",
      +      "click_point",
      +      "viewport_location",
      +      "viewport_midpoint",
      +      "viewport_click_point",
      +      "coordinate_space",
      +      "viewport_coordinate_space"
      +    ],
      +    "title": "ElementRectData",
      +    "type": "object"
      +  },
      +  "ElementViewportEvidenceData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alive": {
      +        "title": "Alive",
      +        "type": "boolean"
      +      },
      +      "checked": {
      +        "title": "Checked",
      +        "type": "boolean"
      +      },
      +      "clickable": {
      +        "title": "Clickable",
      +        "type": "boolean"
      +      },
      +      "covered": {
      +        "title": "Covered",
      +        "type": "boolean"
      +      },
      +      "covering_backend_node_id": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "title": "Covering Backend Node Id"
      +      },
      +      "displayed": {
      +        "title": "Displayed",
      +        "type": "boolean"
      +      },
      +      "enabled": {
      +        "title": "Enabled",
      +        "type": "boolean"
      +      },
      +      "in_viewport": {
      +        "title": "In Viewport",
      +        "type": "boolean"
      +      },
      +      "presentation": {
      +        "$ref": "#/$defs/ElementPresentationData"
      +      },
      +      "rect": {
      +        "$ref": "#/$defs/ElementRectData"
      +      },
      +      "selected": {
      +        "title": "Selected",
      +        "type": "boolean"
      +      },
      +      "whole_in_viewport": {
      +        "title": "Whole In Viewport",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "displayed",
      +      "enabled",
      +      "alive",
      +      "clickable",
      +      "checked",
      +      "selected",
      +      "in_viewport",
      +      "whole_in_viewport",
      +      "covered",
      +      "covering_backend_node_id",
      +      "rect",
      +      "presentation"
      +    ],
      +    "title": "ElementViewportEvidenceData",
      +    "type": "object"
      +  },
      +  "FrameSummaryData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "boundary": {
      +        "enum": [
      +          "same_origin",
      +          "cross_origin",
      +          "unknown"
      +        ],
      +        "title": "Boundary",
      +        "type": "string"
      +      },
      +      "document_access": {
      +        "enum": [
      +          "readable",
      +          "outer_only",
      +          "unknown"
      +        ],
      +        "title": "Document Access",
      +        "type": "string"
      +      },
      +      "id": {
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "index": {
      +        "title": "Index",
      +        "type": "integer"
      +      },
      +      "name": {
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "outer": {
      +        "$ref": "#/$defs/ElementViewportEvidenceData"
      +      },
      +      "selector": {
      +        "title": "Selector",
      +        "type": "string"
      +      },
      +      "title": {
      +        "title": "Title",
      +        "type": "string"
      +      },
      +      "url": {
      +        "title": "Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "index",
      +      "selector",
      +      "id",
      +      "name",
      +      "title",
      +      "url",
      +      "boundary",
      +      "document_access",
      +      "outer"
      +    ],
      +    "title": "FrameSummaryData",
      +    "type": "object"
      +  },
      +  "PointData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "x": {
      +        "title": "X",
      +        "type": "number"
      +      },
      +      "y": {
      +        "title": "Y",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "x",
      +      "y"
      +    ],
      +    "title": "PointData",
      +    "type": "object"
      +  },
      +  "SizeData": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "height": {
      +        "title": "Height",
      +        "type": "number"
      +      },
      +      "width": {
      +        "title": "Width",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "width",
      +      "height"
      +    ],
      +    "title": "SizeData",
      +    "type": "object"
      +  }
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "count": {
      -            "title": "Count",
      -            "type": "integer"
      -          },
      -          "frames": {
      -            "items": {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            "title": "Frames",
      -            "type": "array"
      -          },
      -          "limit": {
      -            "title": "Limit",
      -            "type": "integer"
      -          },
      -          "returned": {
      -            "title": "Returned",
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "count",
      -          "returned",
      -          "limit",
      -          "frames"
      -        ],
      -        "title": "FrameListData",
      -        "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": {
      +          "count": {
      +            "title": "Count",
      +            "type": "integer"
      +          },
      +          "frames": {
      +            "items": {
      +              "$ref": "#/$defs/FrameSummaryData"
      +            },
      +            "title": "Frames",
      +            "type": "array"
      +          },
      +          "limit": {
      +            "title": "Limit",
      +            "type": "integer"
      +          },
      +          "returned": {
      +            "title": "Returned",
      +            "type": "integer"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "count",
      +          "returned",
      +          "limit",
      +          "frames",
      +          "tab_id"
      +        ],
      +        "title": "FrameListData",
      +        "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. Addedv0.7.2

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The phrase 'without changing global state' largely restates readOnly and adds little beyond the annotations; return behavior is covered by the output schema. Minor added context, so a 3 is appropriate.

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 zero filler that states the action and its scope immediately. Nothing wastes space.

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 an output schema defining returns and annotations covering safety, the description need not explain those. However, it omits any routing versus frame_snapshot/frame_find and gives no meaning for the limit parameter, leaving it only minimally adequate for the tool set.

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 coverage is only 50%: tab_id is documented in the schema, but limit has no description anywhere. The description says nothing about parameters, so it fails to compensate for the undocumented limit field (e.g. that it caps the number of frames returned).

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 (List) and resource (iframe/frame contexts) scoped to the current page. It is clear what the tool does, but it does not differentiate itself from close siblings like frame_snapshot or frame_find, so an agent must infer the distinction.

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 explicit when-to-use guidance and no alternatives named. The agent is left to infer that this is the enumeration tool versus frame_find (search) or frame_snapshot (capture), with no stated condition to select between them.

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