Skip to main content
Glama

safari_scroll_to_element

Scroll a Safari page to a target element using a CSS selector or text. For virtual DOMs and lazy-loaded pages, it scrolls down until the text appears, with adjustable alignment and timeout.

Instructions

Scroll to element by CSS selector OR text. For virtual DOM (Airtable) use text — scrolls down until text appears in DOM.

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

Input Schema

NameRequiredDescriptionDefault
whyNoOptional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it.
textNoText to find — scrolls down until it appears (for virtual DOM/lazy loading)
blockNoScroll alignment (default: center)
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
timeoutNoMax time to scroll in ms (default: 10000)
selectorNoCSS selector of target element

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 behavioral burden and does disclose the key mechanism: text mode scrolls down repeatedly until the text appears in the DOM, which is what makes it work on virtualized lists. It says nothing about what happens on timeout/failure, whether it errors or returns quietly, or whether the page is left scrolled at the found element.

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?

Two sentences, zero filler, and the primary selector-vs-text decision is front-loaded before the virtual-DOM caveat. Every clause earns its place.

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 6-parameter, annotation-free scroll tool with a fully documented schema and no output schema, the definition covers the targeting model adequately. It omits the outcome contract an agent needs to chain on: whether success/failure is signalled, what timeout produces, and where the page ends up.

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%, including the selector/text split, block alignment enum, timeout default, and the receipt warning, so the schema already does the heavy lifting. The description's mention of the selector-or-text choice largely restates what the schema documents, adding no new syntax, format, or mutual-exclusivity detail (e.g. what happens if both are supplied).

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 gives a specific verb+resource ("Scroll to element") and states the two targeting modes (CSS selector OR text). That is clear enough for an agent to know what the tool does without opening the schema. It does not differentiate itself from the nearby generic "safari_scroll" or "safari_scroll_to" siblings, 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?

There is explicit guidance for choosing between the tool's own two modes: use text for virtual DOM/lazy-loading cases such as Airtable, selector otherwise. However, the description never says when to reach for this tool rather than a sibling like safari_scroll or safari_get_element, and names no alternatives or exclusions.

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

Deploy Server

Other Tools