Skip to main content
Glama

browser_solve_captcha

Detect and handle reCAPTCHA, hCaptcha, Cloudflare Turnstile, and FunCaptcha on a page, then click checkboxes, select image-grid cells, or request human help one action per call.

Instructions

Detect CAPTCHAs on the current page and work through them, one action per call. "detect" reports a visible reCAPTCHA checkbox or image challenge, hCaptcha, Cloudflare Turnstile and FunCaptcha; an invisible reCAPTCHA (the badge), an invisible hCaptcha or a hidden Turnstile has nothing to click and is reported as invisible, not found, and browser_navigate reports it as captcha_invisible. "click_checkbox" tries the reCAPTCHA checkbox and detects again. "click_grid" clicks the reCAPTCHA image-challenge cells you choose; this tool returns no image, so take one with browser_screenshot first. "ask_human" returns the message to show the user with browser_ask_user.

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

Input Schema

NameRequiredDescriptionDefault
gridNoFor click_grid: the size of the reCAPTCHA image grid in your screenshot, 3 (3x3) or 4 (4x4).
cellsNoGrid cell indices to click (0-indexed, left-to-right, top-to-bottom) for image challenges. E.g. [2, 5, 7] to click cells 3, 6, 8. Pass grid to say which grid you see; without it, the grid is read as 4x4 only when an index is 9 or higher.
actionNoAction to take. "detect" scans for CAPTCHAs. "click_checkbox" clicks the reCAPTCHA checkbox. "click_grid" clicks specific reCAPTCHA grid cells (pass cells, and grid 3 or 4). "ask_human" returns the message to show the user with browser_ask_user; it shows nothing itself. Default: "detect"
partitionNoRun this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / partition
      Added value: +{
      +  "description": "Run this call in a partition from browser_partition (an id like \"p1\"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.",
      +  "type": "string"
      +}
  2. Changed4 schema fields changedv1.30.2
    • changedInput schema / properties / action / description
      Previous value: -"Action to take. \"detect\" scans for CAPTCHAs. \"click_checkbox\" clicks the reCAPTCHA checkbox. \"click_grid\" clicks specific grid cells (pass cells param). \"ask_human\" shows overlay to user. Default: \"detect\""New value: +"Action to take. \"detect\" scans for CAPTCHAs. \"click_checkbox\" clicks the reCAPTCHA checkbox. \"click_grid\" clicks specific reCAPTCHA grid cells (pass cells, and grid 3 or 4). \"ask_human\" returns the message to show the user with browser_ask_user; it shows nothing itself. Default: \"detect\""
    • changedInput schema / properties / cells / description
      Previous value: -"Grid cell indices to click (0-indexed, left-to-right, top-to-bottom) for image challenges. E.g. [2, 5, 7] to click cells 3, 6, 8."New value: +"Grid cell indices to click (0-indexed, left-to-right, top-to-bottom) for image challenges. E.g. [2, 5, 7] to click cells 3, 6, 8. Pass grid to say which grid you see; without it, the grid is read as 4x4 only when an index is 9 or higher."
    • changedInput schema / properties / cells / items / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / grid
      Added value: +{
      +  "description": "For click_grid: the size of the reCAPTCHA image grid in your screenshot, 3 (3x3) or 4 (4x4).",
      +  "enum": [
      +    3,
      +    4
      +  ],
      +  "type": "number"
      +}
  3. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the load, and it does disclose key behavior: one action per call, click_grid returns no image, ask_human shows nothing itself, invisible challenges are reported as invisible not found, and browser_navigate reports captcha_invisible. Partition failure semantics are left to the schema rather than described.

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?

Front-loaded with the purpose, then organized action by action with quoted action names, which aids scanning. It is dense but each clause carries operational information; the invisible-CAPTCHA paragraph is the least essential sentence though it does prevent dead-end clicking.

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?

Covers the multi-step workflow and failure semantics well for a no-annotation tool with no output schema. However, it never describes what detect returns beyond the invisible case, nor how to recover when click_checkbox or click_grid fails, which an agent needs for a retry-driven task.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema alone doesn't: click_grid expects cells chosen from a screenshot you must take first, and action values are explained in workflow terms. The partition parameter's behavior is only covered by the schema, not the description.

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?

States a specific verb and resource (detect and work through CAPTCHAs) and enumerates the four actions with precise scope: detect reports specific CAPTCHA types, click_checkbox tries the reCAPTCHA checkbox, click_grid clicks chosen image cells, ask_human returns a message. It also distinguishes visible from invisible widgets, which no sibling covers.

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?

Explicit routing for the click_grid case: take a screenshot with browser_screenshot first because the tool returns no image, and hand ask_human output to browser_ask_user. Also explains that invisible reCAPTCHA/hCaptcha/Turnstile have nothing to click and are reported as invisible. No explicit when-not to use sibling alternatives beyond these, but sequencing guidance is strong.

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