Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Scroll Element Into View

element_scroll_into_view
Destructive

Scroll a specified element into the viewport before clicking, typing, or extracting so later browser actions can reach it.

Instructions

Scroll an element into the viewport before a later action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
centerNoCenter the element in the viewport.
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.
timeoutNo
selectorYesString locator or structured element target.

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"
      +  },
      +  "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": {
      -          "center": {
      -            "title": "Center",
      -            "type": "boolean"
      -          },
      -          "exact": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Exact"
      -          },
      -          "frame_selectors": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Frame Selectors",
      -            "type": "array"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "name": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Name"
      -          },
      -          "role": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Role"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "shadow_hosts": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Shadow Hosts",
      -            "type": "array"
      -          },
      -          "target_kind": {
      -            "default": "selector",
      -            "enum": [
      -              "selector",
      -              "accessibility"
      -            ],
      -            "title": "Target Kind",
      -            "type": "string"
      -          },
      -          "url": {
      -            "title": "Url",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "center",
      -          "url"
      -        ],
      -        "title": "ElementScrollIntoViewData",
      -        "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": {
      +          "after": {
      +            "$ref": "#/$defs/ElementViewportEvidenceData"
      +          },
      +          "before": {
      +            "$ref": "#/$defs/ElementViewportEvidenceData"
      +          },
      +          "center": {
      +            "title": "Center",
      +            "type": "boolean"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "scroll_method": {
      +            "enum": [
      +              "element",
      +              "page_fallback"
      +            ],
      +            "title": "Scroll Method",
      +            "type": "string"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "center",
      +          "scroll_method",
      +          "before",
      +          "after",
      +          "url",
      +          "tab_id"
      +        ],
      +        "title": "ElementScrollIntoViewData",
      +        "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. Changed6 schema fields changedv0.8.0
    • addedInput schema / $defs
      Added value: +{
      +  "AccessibilityTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A unique accessibility role/name target within an optional DOM scope.",
      +    "properties": {
      +      "exact": {
      +        "default": true,
      +        "title": "Exact",
      +        "type": "boolean"
      +      },
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "accessibility",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "maxLength": 500,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Name"
      +      },
      +      "role": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Role",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "role"
      +    ],
      +    "title": "AccessibilityTargetInput",
      +    "type": "object"
      +  },
      +  "SelectorTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A selector target with optional frame and shadow-root scope.",
      +    "properties": {
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "selector",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "selector": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Selector",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "selector"
      +    ],
      +    "title": "SelectorTargetInput",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / selector / anyOf
      Added value: +[
      +  {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "discriminator": {
      +      "mapping": {
      +        "accessibility": "#/$defs/AccessibilityTargetInput",
      +        "selector": "#/$defs/SelectorTargetInput"
      +      },
      +      "propertyName": "kind"
      +    },
      +    "oneOf": [
      +      {
      +        "$ref": "#/$defs/SelectorTargetInput"
      +      },
      +      {
      +        "$ref": "#/$defs/AccessibilityTargetInput"
      +      }
      +    ]
      +  }
      +]
    • changedInput schema / properties / selector / description
      Previous value: -"CSS/XPath/DrissionPage element locator."New value: +"String locator or structured element target."
    • removedInput schema / properties / selector / type
      Removed value: -"string"
    • changedInput schema / properties / timeout / type
      Previous value: -"integer"New value: +"number"
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "center": {
      -            "title": "Center",
      -            "type": "boolean"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "url": {
      -            "title": "Url",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "center",
      -          "url"
      -        ],
      -        "title": "ElementScrollIntoViewData",
      -        "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": {
      +          "center": {
      +            "title": "Center",
      +            "type": "boolean"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "center",
      +          "url"
      +        ],
      +        "title": "ElementScrollIntoViewData",
      +        "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"
      +  }
      +]
  3. Addedv0.7.2

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare the operation's profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false, openWorldHint=true), lowering the bar. The description adds nothing beyond them: it does not say what happens if the element is never found within `timeout`, whether scrolling waits for the element to exist, or whether it mutates the DOM/scroll position. For an operation flagged destructive, that silence is a real gap.

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 short sentence with no waste and the action front-loaded. It earns its place but is thin enough that it reads as under-specification rather than economical writing.

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 explained, and annotations carry the safety profile. Still, for a tool with a timeout and a wait-implied contract, the description should say what a timeout/failure means; that omission leaves the agent guessing at the practical contract.

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 itself documents `center`, `tab_id`, and the dual-form `selector` clearly, so the baseline is met. The description contributes nothing about parameters, so it does not rise above the schema-provided baseline.

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 (scroll) and resource (element), plus the viewport scope, so the intent is unambiguous. It does not explicitly distinguish itself from the sibling page_scroll, which the agent could also reach for, so it falls short of a 5.

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?

"before a later action" implies the preparatory use case, which is a genuine contextual cue. However, there is no explicit when-not guidance and no mention of page_scroll as the broader alternative, so usage is only suggested, not directed.

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