Skip to main content
Glama

camofox_scroll_element

Scroll a specific container element such as a modal dialog or scrollable div when page-level scrolling cannot reach content inside modals or overflow containers. Returns scroll position metadata for tracking progress.

Instructions

Scroll a specific container element (modal dialog, scrollable div, sidebar). Use when page-level scroll doesn't reach content inside modals or overflow containers. Returns scroll position metadata to track progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTab ID from create_tab
selectorNoCSS selector for scrollable container (e.g. '[role=dialog]', '.modal-body')
refNoElement ref from snapshot (e.g. 'e5')
deltaYNoVertical scroll pixels (positive=down, negative=up)
deltaXNoHorizontal scroll pixels
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns scroll position metadata and implies non-destructive scrolling. However, it does not mention edge cases (e.g., element not found, not scrollable) or authorization needs, leaving gaps for an agent.

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 concise sentences fully cover purpose, usage guidance, and return value. No unnecessary words; every sentence earns its place.

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?

Given the tool's complexity (5 parameters, no output schema, no annotations), the description provides essential context: what it does, when to use it, and what it returns. It is slightly incomplete in describing the return format in detail, but overall sufficient for an agent to select and invoke the tool correctly.

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 100%, so the schema already documents all parameters well. The description adds minimal extra value beyond providing usage context for 'selector' and 'ref'. Baseline score of 3 is appropriate.

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?

The description clearly states the tool scrolls a specific container (modal, scrollable div, sidebar) and distinguishes it from page-level scroll. It uses a specific verb-resource combination and differentiates from siblings like 'scroll' and 'camofox_scroll_element_and_snapshot'.

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?

Explicitly says when to use this tool ('when page-level scroll doesn't reach content inside modals or overflow containers') and mentions return metadata for tracking progress. Could be more explicit about when not to use, but the guidance is clear and helpful.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/redf0x1/camofox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server