Skip to main content
Glama

captcha

Solve human-verification challenges on blocked pages, extract text from distorted-character images, and poll pending answers so agents can continue browsing or submit forms.

Instructions

Get past a captcha. url: solve the challenge on that blocked page in place and return the page behind it; use it when blocked_reason names a captcha (a widget that needs a person opens a window or the dashboard). A bare token, only for a form you post yourself from the same session and address: kind + sitekey + page_url. image: read a picture of distorted characters as text. task_id: poll a pending task; with good, report whether the site took the answer, which orders what is tried next time.

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

Input Schema

NameRequiredDescriptionDefault
urlNoThe blocked page
goodNoWith task_id: true accepted, false rejected
kindNoturnstile | recaptcha_v2 | hcaptcha
noteNoWith good: what the site said
imageNobase64 or a URL
profileNourl: profile whose cookies to use and update
sitekeyNoThe widget's data-sitekey
task_idNoThe `taskId` a pending answer returned
page_urlNoThe page the widget is on
invisibleNorecaptcha_v2 without a checkbox
timeout_sNourl: default 120
extractionNomarkdown (default) | text | html
max_tokensNourl: content cap, default 25000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare only that this is not read-only and is open-world; the description adds real behavior beyond that — an interactive widget "opens a window or the dashboard", and the `good`/`task_id` loop "orders what is tried next time", i.e. the tool learns from feedback. It still doesn't say whether cookies/session state are mutated or what happens on timeout, so not a 5.

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?

Tightly front-loaded by mode with no filler, and each clause maps to a parameter cluster. The telegraphic phrasing ("A bare token, only for a form you post yourself from the same session and address") is dense enough to risk misreading.

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?

With 13 optional parameters, no required fields, and no output schema, the description does the necessary work of explaining how parameter groups form distinct calls and what each mode roughly yields (the page behind the block, text from an image, a polled task). Return shapes per mode and failure behavior remain implicit, which keeps it from being fully complete.

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 goes further by explaining which parameters combine into which modes (kind+sitekey+page_url for a bare token; task_id with good; url vs image). It adds genuine composition semantics the flat schema cannot express.

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?

Opens with a concrete verb+resource ("Get past a captcha") and then enumerates four distinct operating modes (url, bare token, image, task_id) so an agent can tell them apart. It does not contrast itself against sibling tools like browser or web_fetch, keeping it 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 Guidelines4/5

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

Gives explicit selection conditions: use `url` "when `blocked_reason` names a captcha", use the bare-token form "only for a form you post yourself from the same session and address", use `image` for distorted-character pictures, use `task_id` to poll. No when-not cases or named alternatives are given, so it stops short of a 5.

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