Skip to main content
Glama

page_scroll

Scrolls the page up or down by roughly one screen; provide an element ref to scroll within that element instead.

Instructions

滚动一屏左右:direction 为 up 或 down;给 ref 就在那个元素上滚。

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": {
      "direction": "<direction>"
    },
    "name": "page_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
directionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the scroll magnitude ('about one screen') and the element-scoped variant, which are real behavioral facts beyond the schema. It says nothing about what happens if ref is invalid, whether the page must already be open, or what the call returns, leaving meaningful gaps for an unannotated mutation-of-view tool.

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 compact sentence that front-loads the action and magnitude, then the parameters. Nothing is redundant, though the hedging '左右' (approximately) softens the one quantitative claim the agent might rely on.

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?

For a two-parameter tool with no annotations and no output schema, the description covers the essentials but leaves the meaning and provenance of ref ambiguous and omits failure behavior. Adequate to invoke, not fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: direction is constrained to up or down (an enum the schema omits entirely) and ref is explained as the optional element to scroll on. It does not clarify what kind of reference ref is (index, id, handle from page_read), which keeps it from a 5.

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 states a concrete action (scroll) with a stated magnitude (about one screen) and names the direction and optional element target, which is enough to separate it from siblings like page_click and page_press. It does not explicitly contrast itself with any sibling, so it stops 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?

Usage is only implied: the agent can infer it should call this to move the viewport up or down, and that supplying ref narrows the scroll to one element. There is no statement of when not to use it, no prerequisites (e.g. page must be open), and no reference to alternatives.

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