Skip to main content
Glama

Solve Cloudflare Turnstile

capskip_solve_turnstile

Solve Cloudflare Turnstile captchas and interstitial challenges. Submit sitekey and page URL to receive a token for the cf-turnstile-response field.

Instructions

Solve a Cloudflare Turnstile widget or interstitial challenge page. Returns a token for the page's "cf-turnstile-response" field. IMPORTANT: submit the token using the returned userAgent — Cloudflare rejects a token replayed under a different User-Agent. For an interstitial challenge page, also pass cdata and pagedata read from the page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull URL of the page the captcha appears on, including scheme.
cdataNoThe cData value. Interstitial challenge pages only, not ordinary widgets.
proxyNoSolve through this proxy so the token is issued against its IP.
actionNoThe action from data-action or turnstile.render().
sitekeyYesThe Turnstile site key, from the widget's data-sitekey attribute.
timeoutNoSeconds to wait before giving up. Maximum 600.
pagedataNoThe chlPageData value. Interstitial challenge pages only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
captchaIdYes
userAgentNo
solveSecondsYes
Behavior5/5

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

It discloses a critical behavioral constraint: the returned token must be submitted with the same userAgent or Cloudflare rejects it. It also clarifies when cdata/pagedata are required. These go beyond the annotations (readOnlyHint=false, openWorldHint=true) and are essential for correct use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly written sentences immediately convey purpose, output, and a high-priority caveat. No filler or repetition of schema fields; every sentence adds value.

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?

For a 7-parameter solver with a nested proxy object and an output schema, the description covers the essential behavioral nuances (widget vs interstitial, token-userAgent binding). The schema documents parameter details, and the output schema removes the need to explain return values, making the description complete for this complexity.

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?

The input schema already describes all seven parameters with 100% coverage, giving a solid baseline. The description adds extra meaning by tying cdata/pagedata to the interstitial challenge page scenario and explaining the userAgent token requirement, though it does not detail proxy or timeout semantics beyond the schema.

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 opens with a specific verb ('Solve') and resource ('Cloudflare Turnstile widget or interstitial challenge page'), and explicitly states the output (a token for cf-turnstile-response). This clearly distinguishes it from sibling captcha-solving tools (image, recaptcha, geetest).

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?

The description provides clear usage context by distinguishing between widget and interstitial challenge page forms, and instructs passing cdata/pagedata for interstitial pages. It does not explicitly name alternatives or exclusions, but the sibling names make the intended use obvious.

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/capskip/capskip-mcp'

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