Skip to main content
Glama

click_turnstile

Auto-finds and clicks Cloudflare Turnstile checkboxes using a three-tier detection strategy: primary selectors, secondary container search, and optional OpenCV template fallback.

Instructions

Auto-find and click the Cloudflare Turnstile checkbox.

Three-tier detection strategy:
  1. Primary selectors: iframe[src*=challenges.cloudflare.com], [data-sitekey], .cf-turnstile
  2. Secondary: .turnstile, input[name=cf-turnstile-response] → nearest sized container
  3. Fallback (if fallback_template=True): OpenCV template match via verify_cf
     — covers out-of-process iframe cases (e.g. nopecha.com/captcha/turnstile)

Args:
    offset_x: pixels from widget left edge (default 30, calibrated for CF checkbox)
    offset_y: vertical offset (default = container center)
    fallback_template: if selectors fail, try OpenCV template click (default True)

Known to work on: 2captcha.com/demo/cloudflare-turnstile, dash.cloudflare.com login,
nopecha.com/captcha/turnstile (via template fallback).
Does NOT work on: Cloudflare managed-mode interstitials ("Just a moment..." full-page
challenges) — use solve_captcha or storage_state_load for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offset_xNo
offset_yNo
fallback_templateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, so description carries full burden. It details the three-tier detection strategy, fallback behavior, and limitations comprehensively.

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?

Well-structured with numbered tiers and parameter descriptions. Slightly long but every sentence adds value. Could be slightly more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters with no schema descriptions and no annotations, the description is thorough: covers purpose, mechanism, usage guidance, parameter details, and limitations. Fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description must compensate. It explains each parameter's purpose, default, and calibration (e.g., offset_x calibrated for CF checkbox).

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?

Clearly states it auto-finds and clicks the Cloudflare Turnstile checkbox. Specific verb and resource, distinguishes from sibling click tools.

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

Usage Guidelines5/5

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

Explicitly says when NOT to use (Cloudflare managed-mode interstitials) and provides alternatives (solve_captcha or storage_state_load). Also lists known working sites.

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/RobithYusuf/mcp-stealth-chrome'

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