Skip to main content
Glama

solve_turnstile_token

Obtains a Cloudflare Turnstile token from Cap.Guru using a sitekey and page URL, and can apply it to an open browser page to complete Turnstile challenges.

Instructions

Get a Cloudflare Turnstile token from Cap.Guru (method turnstile).

sitekey: the data-sitekey value (e.g. 0x4AAAA...). pageurl: URL of the page with Turnstile. If a browser page is open, empty sitekey/pageurl are taken from it, and with apply_to_page=true the token is put into cf-turnstile-response and the Turnstile callback is called. Usually 10-30 seconds.

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_turnstile_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageurlNo
sitekeyNo
apply_to_pageNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.5

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the ~10-30 second latency and the concrete side effects of mutating cf-turnstile-response and invoking the Turnstile callback. It omits auth/API-key or credit-consumption details and failure behavior, which are the remaining gaps.

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 sentence is front-loaded with the core action, then the parameter notes, then the behavior and timing note — no filler. It is dense but every clause adds information; only slight tightening is possible.

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?

For a browser-coupled solving tool with an output schema already covering return values, the description covers inputs, page fallback, side effects, and expected duration. Missing prerequisites such as service credentials or expected failures keep it just short of 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 0%, so the description must compensate and largely does, defining sitekey as the data-sitekey value with a format example, pageurl as the Turnstile page URL, and the effect of apply_to_page. The false case for apply_to_page (token returned rather than injected) is only implied, not stated.

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 uses a specific verb and resource ('Get a Cloudflare Turnstile token from Cap.Guru, method turnstile'), which cleanly separates it from solve_recaptcha_token, solve_image_captcha, and solve_captcha. An agent can identify the exact captcha family this handles without opening the schema.

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?

It gives concrete operating conditions: empty sitekey/pageurl fall back to the currently open browser page, and apply_to_page=true injects the token and fires the callback. It does not explicitly say when to prefer this over solve_recaptcha_token, but the Turnstile-specific framing makes the selection condition clear.

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