Skip to main content
Glama
react-native-devtools-mcp

react-native-devtools-mcp

scroll

Move the React Native app screen up, down, left, or right by a specified pixel amount to navigate views in iOS simulators or Android emulators.

Instructions

Scroll the screen in a direction

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": "scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoScroll amount in pixels (default: 500)
directionYesScroll direction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and delivers almost nothing: it does not say whether this is a gesture-based swipe, whether scrolling is animated, whether there is a return value, or what happens at scroll boundaries. For a UI-mutating tool with zero annotation coverage, this is a significant gap.

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 short, front-loaded sentence with no filler. Nothing is wasted, though there is also very little content.

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 simple two-parameter tool whose schema fully documents both arguments, the description is minimally sufficient to call it. It still omits behavioral context an agent would want, such as whether scrolling is bounded or what is scrolled.

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%, with both direction and amount (default 500px) documented in the schema including an enum. The description adds no meaning beyond that, so the baseline 3 applies.

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 and target ("Scroll the screen") plus the directional aspect, which cleanly separates it from siblings like tap, type_text, and press_button. It stops short of saying what kind of scrolling (gesture vs. wheel) or which surface it affects.

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?

No when-to-use guidance at all: nothing about when to scroll versus using get_view_hierarchy to jump, no prerequisites, no note on whether it scrolls the focused element, the whole page, or a scrollable container. The agent must infer everything from the name.

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