Skip to main content
Glama

solve_image_captcha

Recognizes text-based captchas from an image URL, local path, base64 data, or page element selector and returns the answer; optionally fills the result into an input field on the open page.

Instructions

Recognize a text (image) captcha through Cap.Guru (method base64) and return the text.

Image source, one of: selector: the captcha image element on the open page (a screenshot of the element is sent), image_base64: image in base64 (a data: URL is also accepted), image_path: path to a local image file (png, jpg, gif, bmp, webp up to 5 MB), image_url: image URL (downloaded without cookies; use_page_cookies=true sends the page cookies). vernet: captcha kind; 0 (default) = not sent, the service chooses. Pick the kind that matches the site: 2 General v1, 6 General v2 (try 2 or 6 for distorted text), 22 Arithmetic (the service returns the expression as it is, e.g. 27+15=, and this server calculates the result), 12 Rambler, 18 General Yandex, 20 Yandex 6 characters, 16 VKontakte, 14 SolveMedia, 13 Gibdd, 9 Ok.ru, 17 World of Tanks, 5 Microsoft Hotmail. fill_selector: if set and a page is open, the answer is typed into this input.

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

Input Schema

NameRequiredDescriptionDefault
vernetNo
selectorNo
image_urlNo
image_pathNo
image_base64No
fill_selectorNo
use_page_cookiesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.5

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose real behavior: image_url is downloaded without cookies unless use_page_cookies is set, local files are capped at 5 MB, arithmetic captchas are evaluated server-side, and fill_selector types the answer into the page. It omits credential/rate-limit/cost behavior for the external Cap.Guru service and what happens on a failed recognition.

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 action and result in one sentence, followed by a structured enumeration of image sources and captcha kinds. The vernet list is long but each entry is load-bearing; minor waste in restating '(a data: URL is also accepted)' style asides.

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?

An output schema exists, so not explaining the return value is acceptable, and the description covers inputs and side effects thoroughly. Remaining gaps are precedence when multiple image sources are supplied and any authentication/error semantics for the Cap.Guru backend.

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% and the schema has no enums, yet the description explains every one of the seven parameters, including a full mapping of vernet numeric codes to captcha types and the accepted image formats and size limit for image_path. This is meaning that exists nowhere in the structured data.

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?

The first sentence names a specific verb and resource ('Recognize a text (image) captcha through Cap.Guru') and states it returns text, so the operation is unambiguous. It does not differentiate itself from the sibling 'solve_captcha' or explain which captcha types belong to which tool, so it stops 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 Guidelines3/5

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

There is practical in-tool guidance (e.g. 'try 2 or 6 for distorted text', pick the vernet kind matching the site) but no statement of when to choose this over solve_captcha, solve_recaptcha_token, or detect_captcha. Usage context is implied by the captcha-kind list rather than stated as selection criteria.

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