Skip to main content
Glama

smooth_scroll

Destructive

Scroll a webpage with eased animation instead of instant jumps, making it suitable for video recordings and controlled browser navigation.

Instructions

[Cinematic Engine] Smoothly scroll the page with eased animation.

Unlike the standard scroll tool which jumps instantly, this provides smooth, cinematic scrolling perfect for video recording.

Args: direction: "up", "down", "top", or "bottom" amount: Pixels to scroll (for "up"/"down" only) duration_ms: Animation duration in milliseconds

Returns: {"success": True, "data": {"direction": "down", "scrolled_to": 500}}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "smooth_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNo
directionNodown
duration_msNo

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

The description adds useful behavior beyond annotations: eased animation, an animation duration, and a returned scrolled_to position. However, annotations declare destructiveHint=true and readOnlyHint=false, and the description frames the tool as a harmless visual aid without explaining any state mutation, nor whether the call blocks until the animation completes.

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?

The leading sentence is front-loaded with the distinctive value proposition and the sibling contrast follows immediately. The Args/Returns block is docstring boilerplate, and the Returns section restates information the output schema already provides, so a little could be trimmed.

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?

All three parameters are documented and an output schema exists, so return-value detail is not needed in prose. The remaining gaps are minor but real: no defaults, no note on blocking/async behavior, and no mention of how it interacts with nested scroll containers.

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 coverage is 0%, so the description must carry parameter meaning, and it largely does: it enumerates the valid direction values ('up', 'down', 'top', 'bottom'), which the schema does not, and scopes `amount` to up/down only. Defaults (down, 500, 800ms) and what happens if `amount` is supplied with top/bottom are still unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Smoothly scroll the page with eased animation') and explicitly contrasts it with the sibling `scroll` tool that 'jumps instantly.' An agent can pick between the two without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear when-to-use condition ('perfect for video recording') and names the standard scroll tool as the alternative. It does not state an explicit when-not to use this tool (e.g., when speed matters or inside automated assertions), so it stops just short of full routing guidance.

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