Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Scroll Page

page_scroll
Destructive

Scroll the current browser page down, up, left, right, to top, bottom, half, or to specific X/Y coordinates by direction or position.

Instructions

Scroll the current page by direction or to a position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX coordinate for direction=position.
yNoY coordinate for direction=position.
pixelsNoPixel distance for directional scrolling.
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.
directionNoScroll direction or target: down, up, left, right, top, bottom, half, position.down

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": {
      -          "direction": {
      -            "title": "Direction",
      -            "type": "string"
      -          },
      -          "pixels": {
      -            "title": "Pixels",
      -            "type": "integer"
      -          },
      -          "url": {
      -            "title": "Url",
      -            "type": "string"
      -          },
      -          "x": {
      -            "title": "X",
      -            "type": "integer"
      -          },
      -          "y": {
      -            "title": "Y",
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "direction",
      -          "pixels",
      -          "x",
      -          "y",
      -          "url"
      -        ],
      -        "title": "PageScrollData",
      -        "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": {
      +          "direction": {
      +            "title": "Direction",
      +            "type": "string"
      +          },
      +          "pixels": {
      +            "title": "Pixels",
      +            "type": "integer"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          },
      +          "x": {
      +            "title": "X",
      +            "type": "integer"
      +          },
      +          "y": {
      +            "title": "Y",
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "direction",
      +          "pixels",
      +          "x",
      +          "y",
      +          "url",
      +          "tab_id"
      +        ],
      +        "title": "PageScrollData",
      +        "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

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true, non-idempotent, openWorld), so the description only needs to add context — and it adds essentially none. It doesn't explain scroll behavior (instant vs animated, whether it awaits completion), that scrolling can trigger lazy-loading/network activity (which would explain destructiveHint=true), or how the optional tab_id changes which page is acted on beyond the schema's own text.

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?

A single tight sentence with the verb and scope front-loaded and no wasted words. It is arguably too terse for a five-parameter tool, but nothing is redundant or padded.

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?

An output schema exists, so return values need not be described. However, for a tool with five parameters, eight direction values, and no required arguments, the description leaves the agent to reconstruct mode selection (e.g., x/y only matter with direction=position) entirely from the schema.

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 description coverage is 100%, so every parameter (x, y, pixels, tab_id, direction) is already documented, including the enum of direction values. The description's mention of 'direction or to a position' loosely mirrors the direction=position mode but adds no syntax or semantics beyond the schema, making the baseline 3 appropriate.

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 description pairs a specific verb (scroll) with a clear resource (the current page) and names both supported modes — directional scrolling and scrolling to a position. It does not, however, contrast itself against the closely related sibling element_scroll_into_view, which is the most likely source of confusion.

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: nothing says when viewport scrolling is preferable to element_scroll_into_view, nor any prerequisites or side-effect warnings. The agent must infer usage from the name alone.

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