Skip to main content
Glama
codeiva11
by codeiva11

click

Target CSS selectors or annotation IDs to trigger mouse actions, drag-and-drop, hover, iframe handling, video player control, and automatic retry for web automation.

Instructions

Click or drag a page element by CSS selector or annotation ID. Supports drag-and-drop / slider manipulation via dragTo, iframe context, hover before click, video player API, and automatic retry with fallback selectors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
delayNo
aiHealNoTry alternative selector if primary fails
dragToNoDrag and drop the source element to target selector or coordinates with biological friction and overshoot correction
iframeNoTarget a specific iframe by index (use media_extractor list_iframes to get index)
retriesNoRetry count on failure
timeoutNoMax time to wait for element to appear (ms)
selectorNoCSS selector for the element to click
hoverOnlyNoHover only, do not click (to reveal hidden controls)
humanLikeNoSmooth cursor movement before click
clickCountNo
forceClickNoClick via JavaScript even if element is not visible
hoverFirstNoHover over element before clicking (for dynamic controls)
waitForPlayNoWait until the video starts playing after click
annotationIdNoAnnotation number from see_page(annotate:true) — use instead of selector
usePlayerAPINoControl video player via its JavaScript API instead of DOM click
hoverDurationNoWait time after hover before clicking (ms)
playerTimeoutNoMax time to wait for video playback to start (ms)
iframeSelectorNoTarget a specific iframe by CSS selector
scrollIntoViewNoScroll element into view before clicking
autoDetectPlayerNoDetect and target embedded video player iframes automatically
autoAcceptDialogsNoAuto-dismiss browser dialogs (alerts, confirms)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv3.2.13

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does reveal several behaviors: drag simulation with biological friction, iframe targeting, hover-before-click, video player API control, and automatic retry with fallback selectors. However, it omits side effects like auto-dismissing dialogs, force-click via JavaScript, and potential navigation outcomes from clicking.

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 description is a single dense sentence that front-loads the core action and then lists supported capabilities. It is efficient with no filler, though the feature list is somewhat packed and could benefit from slight structural separation.

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 tool with 21 parameters, nested objects, and no output schema, the description gives a useful high-level summary but relies heavily on the schema for invocation details. It does not address return behavior or clarify which combinations of options are mutually exclusive or complementary, leaving moderate gaps for an agent selecting parameters.

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 90%, so the input schema already documents most parameter meanings. The description only names feature areas like dragTo and iframe handling without adding semantic detail beyond the schema, matching the baseline for high coverage.

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 opens with a specific verb and resource: 'Click or drag a page element by CSS selector or annotation ID.' It clearly states what the tool does and how elements are targeted, and the click/drag scope distinguishes it from sibling input tools like type and press_key.

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?

The description gives no explicit guidance on when to prefer this tool over alternatives such as type, press_key, or see_page. Usage context is only implied by the tool name and the action verb, with no exclusions or routing recommendations.

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

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/codeiva11/Real-Browser-Mcp'

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